From ba4795e4b322e6a6151a593f2154ae4c569f032f Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 3 Dec 2024 17:43:53 +0000 Subject: [PATCH] Serialize dashboardViewConfig in DashboardViewer for consistent data handling --- Dashboard/src/Components/Dashboard/DashboardView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dashboard/src/Components/Dashboard/DashboardView.tsx b/Dashboard/src/Components/Dashboard/DashboardView.tsx index e8b6c750edf..c72766c04f3 100644 --- a/Dashboard/src/Components/Dashboard/DashboardView.tsx +++ b/Dashboard/src/Components/Dashboard/DashboardView.tsx @@ -91,7 +91,8 @@ const DashboardViewer: FunctionComponent = ( modelType: Dashboard, id: props.dashboardId, data: { - dashboardViewConfig: dashboardViewConfig, + dashboardViewConfig: + JSONFunctions.serializeValue(dashboardViewConfig), }, }); } catch (err) {