Skip to content

Commit

Permalink
feat: show 0 counts
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro committed Sep 19, 2024
1 parent f2b02eb commit 69275ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/dashboard/components/alert-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const AlertTitle = ( {
return (
<div className="yst-flex yst-justify-between yst-gap-2 yst-items-center">
<Icon className={ classNames( "yst-w-6 yst-h-6", iconClass ) } />
<Title className="yst-grow" as="h3" size="2">{ title } { counts > 0 && `(${counts})` }</Title>
<Title className="yst-grow" as="h3" size="2">{ title } { `(${counts})` }</Title>
</div>
);
};
Expand Down

0 comments on commit 69275ab

Please sign in to comment.