We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f70fe67 + f4ca257 commit d3f07e1Copy full SHA for d3f07e1
src/features/cards/components/githubCard/RepoItem.tsx
@@ -51,7 +51,7 @@ const RepoItem = ({
51
<VscStarFull className="rowItemIcon" /> {numberWithCommas(item.stars_count)} stars
52
</span>
53
)}
54
- {item.stars_in_range && (
+ {item.stars_in_range !== undefined && (
55
<span className="rowItem">
56
<VscStarFull className="rowItemIcon" />{' '}
57
{numberWithCommas(item.stars_in_range || 0)} stars{' '}
@@ -60,7 +60,7 @@ const RepoItem = ({
60
: 'today'}
61
62
63
- {item.forks_count && (
+ {item.forks_count !== undefined && (
64
65
<VscRepoForked className="rowItemIcon" /> {numberWithCommas(item.forks_count)}{' '}
66
forks
0 commit comments