From c6f7de04cc2c5d9972addb764f5b578840bb97ca Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 28 May 2025 22:14:49 +0200 Subject: [PATCH] Revert "fix(ui): new card data state is not updating" This reverts commit 2921c17cbf0418098ee2d273e32948f83c749d53. --- .../components/Dashboard/components/WidgetView/WidgetView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx index 203b7599b..d59e4e32a 100644 --- a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx +++ b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx @@ -71,6 +71,7 @@ function WidgetView({ const params = new URLSearchParams(location.search); const mk = params.get('mk'); if (mk) { + metricStore.init(); const selectedCard = CARD_LIST(t).find((c) => c.key === mk) as CardType; if (selectedCard) { const cardData: any = {