From cff8f0074c9546c3a83dbc07b395a4f9c913c81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lud=C4=9Bk=20Nov=C3=BD?= <13610612+ludeknovy@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:31:59 +0200 Subject: [PATCH] Removing the chart when comparison is removed --- .../item-detail/monitoring-stats/monitoring-stats.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/item-detail/monitoring-stats/monitoring-stats.component.ts b/src/app/item-detail/monitoring-stats/monitoring-stats.component.ts index 0c7485d..8f42522 100644 --- a/src/app/item-detail/monitoring-stats/monitoring-stats.component.ts +++ b/src/app/item-detail/monitoring-stats/monitoring-stats.component.ts @@ -48,6 +48,8 @@ export class MonitoringStatsComponent implements OnInit { series: comparisonSeries, }; this.updateComparisonChartFlag = true; + } else { + this.monitoringComparisonChartOptions = null } }); }