From 2b69fb6f7368cfa5013f1aa172ded7c9a171d247 Mon Sep 17 00:00:00 2001 From: Ludek Novy <13610612+ludeknovy@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:04:44 +0200 Subject: [PATCH] Removing the chart when comparison is removed (#423) --- .../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 } }); }