diff --git a/apps/client/src/app/components/performance-chart-dialog/performance-chart-dialog.component.ts b/apps/client/src/app/components/performance-chart-dialog/performance-chart-dialog.component.ts index 0a4c9e4a3..e6f3acede 100644 --- a/apps/client/src/app/components/performance-chart-dialog/performance-chart-dialog.component.ts +++ b/apps/client/src/app/components/performance-chart-dialog/performance-chart-dialog.component.ts @@ -46,7 +46,7 @@ export class PerformanceChartDialog { this.historicalDataItems = this.data.historicalDataItems; - this.historicalDataItems.forEach((historicalDataItem) => { + this.historicalDataItems?.forEach((historicalDataItem) => { const benchmarkItem = historicalData.find((item) => { return item.date === historicalDataItem.date; });