From e7fd30be1700d02f38ad5f9256f797dcb4e68af7 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 22 Apr 2021 07:23:51 -0700 Subject: [PATCH] PanelEdit: update configRev on close (#33240) --- .../features/dashboard/components/PanelEditor/state/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/components/PanelEditor/state/actions.ts b/public/app/features/dashboard/components/PanelEditor/state/actions.ts index 7b413148bd5..bde2d105533 100644 --- a/public/app/features/dashboard/components/PanelEditor/state/actions.ts +++ b/public/app/features/dashboard/components/PanelEditor/state/actions.ts @@ -135,6 +135,7 @@ export function panelEditorCleanUp(): ThunkResult { modifiedSaveModel.id = sourcePanel.id; sourcePanel.restoreModel(modifiedSaveModel); + sourcePanel.configRev++; // force check the configs // Loaded plugin is not included in the persisted properties // So is not handled by restoreModel