From 6360b9a5807ebb51db7ffc9e8d1135dae5d0c9d8 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 14 Feb 2025 10:00:58 +0100 Subject: [PATCH] ui: re-download comparison data on metricOf change --- .../components/Dashboard/components/WidgetChart/WidgetChart.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx b/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx index 809f0977a..86cb52759 100644 --- a/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx +++ b/frontend/app/components/Dashboard/components/WidgetChart/WidgetChart.tsx @@ -205,6 +205,7 @@ function WidgetChart(props: Props) { period, depsString, dashboardStore.selectedDensity, + _metric.metricOf ]); useEffect(() => { setCompData(null);