fix: sidebar pending issue stats fix (#627)

This commit is contained in:
Anmol Singh Bhatia
2023-03-30 19:26:41 +05:30
committed by GitHub
parent 112fe8e7e6
commit 50275fd2ad

View File

@@ -404,7 +404,9 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
</span>
<span>
Pending Issues -{" "}
{issues?.length ?? 0 - groupedIssues.completed.length}{" "}
{issues &&
groupedIssues &&
issues?.length - groupedIssues.completed.length}
</span>
</div>