diff --git a/web/ee/components/cycles/active-cycle/cycle-chart/chart.tsx b/web/ee/components/cycles/active-cycle/cycle-chart/chart.tsx index a892333f69..1538f53c29 100644 --- a/web/ee/components/cycles/active-cycle/cycle-chart/chart.tsx +++ b/web/ee/components/cycles/active-cycle/cycle-chart/chart.tsx @@ -54,6 +54,7 @@ export const ActiveCycleChart = observer((props: Props) => { let startDate: Date | string = new Date(cycle.start_date!); const today = format(startOfToday(), "yyyy-MM-dd"); const { diffGradient, dataWithRange } = chartHelper(data, endDate, plotType, colors); + const cycleId = cycle.id; endDate = endDate.toISOString().split("T")[0]; startDate = startDate.toISOString().split("T")[0]; @@ -74,7 +75,7 @@ export const ActiveCycleChart = observer((props: Props) => { {/* Time left */} { {/* Beyond Time */} { {/* actual */} - + {/* Started */} - + {/* Scope */} - + {/* Ideal */} - + {/* Ideal - Actual */} - {diffGradient} + {diffGradient} { {/* Line charts */} {/* Time left */} - + { {/* Beyond Time */} {/* Ideal - Actual */} - + {/* Ideal */} { { { {