From b1a026bd2bf0e050eca2517333eafb3dbe8816b3 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 18 Apr 2025 22:49:35 -0600 Subject: [PATCH] Update DashboardContentController.tsx --- .../DashboardContentController/DashboardContentController.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardContentController.tsx b/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardContentController.tsx index 54ee2b514..9d9abf8ba 100644 --- a/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardContentController.tsx +++ b/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardContentController.tsx @@ -83,7 +83,7 @@ export const DashboardContentController: React.FC<{ }) }; }); - }, [rows, readOnly, dashboard?.id, numberOfMetrics]); + }, [JSON.stringify(rows), readOnly, dashboard?.id, numberOfMetrics]); const { run: debouncedForInitialRenderOnUpdateDashboardConfig } = useDebounceFn( onUpdateDashboardConfig, @@ -114,7 +114,6 @@ export const DashboardContentController: React.FC<{ remapMetrics, dashboard, metrics, - dashboardRows, readOnly, numberOfMetrics, rows,