From 606404967a5af992cc6842d4723875bc40e63678 Mon Sep 17 00:00:00 2001 From: SilverD3 Date: Fri, 1 Dec 2023 17:55:35 +0100 Subject: [PATCH] Ensure new widgets are added to the user dashboard if his permissions change --- src/state/layouts/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/layouts/actions.ts b/src/state/layouts/actions.ts index 89c673282..90b47be3b 100644 --- a/src/state/layouts/actions.ts +++ b/src/state/layouts/actions.ts @@ -63,7 +63,7 @@ export const getLayouts = type: GET_LAYOUTS_SUCCESS, payload: { layout, - toolbox, + toolbox: toolboxDashboards(layout, toolbox), data: { ...payload, configValue: encodeLayout({ layout, toolbox }),