Skip to content

Commit

Permalink
If there are zero issues we should not show the widget
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Sep 16, 2023
1 parent 5b13425 commit 616db50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/RepositoryItemTopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ export const RepositoryItemTopBar = ({
<div className="flex flex-1 justify-end items-center">
<div className={`w-2 h-2 rounded-full ${repositoryHasNewIssues ? "bg-juniper" : ""}`}></div>
</div>
{repositoryNumIssues > 0 &&
<RepositoryIssueNumberIndicator
isIssueOpen={isIssueOpen}
numberOfIssues={repositoryNumIssues}
/>
/>}
</div>
);
};

0 comments on commit 616db50

Please sign in to comment.