diff --git a/web/core/components/cycles/active-cycle/productivity.tsx b/web/core/components/cycles/active-cycle/productivity.tsx index 0e44e66f8b..4a514f0714 100644 --- a/web/core/components/cycles/active-cycle/productivity.tsx +++ b/web/core/components/cycles/active-cycle/productivity.tsx @@ -56,8 +56,8 @@ export const ActiveCycleProductivity: FC = observe const completionChartDistributionData = chartDistributionData?.completion_chart || undefined; return cycle ? ( -
-
+
+

Issue burndown

diff --git a/web/core/store/cycle.store.ts b/web/core/store/cycle.store.ts index e47bac6ef0..c48171e1ea 100644 --- a/web/core/store/cycle.store.ts +++ b/web/core/store/cycle.store.ts @@ -213,7 +213,9 @@ export class CycleStore implements ICycleStore { const projectId = this.rootStore.router.projectId; if (!projectId) return null; const activeCycle = Object.keys(this.cycleMap ?? {}).find( - (cycleId) => this.cycleMap?.[cycleId]?.project_id === projectId + (cycleId) => + this.cycleMap?.[cycleId]?.project_id === projectId && + this.cycleMap?.[cycleId]?.status?.toLowerCase() === "current" ); return activeCycle || null; }