Skip to content

Commit

Permalink
fix: make Latest badge description visibility explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgraeme committed Jan 31, 2025
1 parent 7251185 commit 2d73d8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const BadgeTileDescription = (): JSX.Element | null => {

// For Latest type, hide description when count = 0
// For Specific type, always show description
if (count === 0 && type !== BadgeTileType.Specific) return null;
if (count === 0 && type === BadgeTileType.Latest) return null;

return (
<View
Expand Down

0 comments on commit 2d73d8c

Please sign in to comment.