From 8826540c091964580a159450a7669c9492ea7213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Tue, 7 Sep 2021 12:46:21 +0200 Subject: [PATCH] Dashboard: Forces panel re-render when exiting panel edit (#38913) --- .../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 9535e3c907e..5ee08a09202 100644 --- a/public/app/features/dashboard/components/PanelEditor/state/actions.ts +++ b/public/app/features/dashboard/components/PanelEditor/state/actions.ts @@ -128,6 +128,7 @@ export function exitPanelEditor(): ThunkResult { // But do this after the panel edit editor exit process has completed setTimeout(() => { sourcePanel.getQueryRunner().useLastResultFrom(panel.getQueryRunner()); + sourcePanel.render(); }, 20); }