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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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