diff --git a/apps/app/components/cycles/sidebar.tsx b/apps/app/components/cycles/sidebar.tsx index 27dd56584..79b841df9 100644 --- a/apps/app/components/cycles/sidebar.tsx +++ b/apps/app/components/cycles/sidebar.tsx @@ -404,7 +404,9 @@ export const CycleDetailsSidebar: React.FC = ({ Pending Issues -{" "} - {issues?.length ?? 0 - groupedIssues.completed.length}{" "} + {issues && + groupedIssues && + issues?.length - groupedIssues.completed.length}