From 52ff968a729fb84309d7f0f62d3c02f4167b2284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 29 Mar 2021 08:15:26 +0200 Subject: [PATCH] PanelEditor: Fixes issue with data source picker not updating when selecting mixed data source (#32386) --- .../dashboard/components/PanelEditor/PanelEditorQueries.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/features/dashboard/components/PanelEditor/PanelEditorQueries.tsx b/public/app/features/dashboard/components/PanelEditor/PanelEditorQueries.tsx index dd76f1faf28..8fd1724bc3f 100644 --- a/public/app/features/dashboard/components/PanelEditor/PanelEditorQueries.tsx +++ b/public/app/features/dashboard/components/PanelEditor/PanelEditorQueries.tsx @@ -55,6 +55,8 @@ export class PanelEditorQueries extends PureComponent { // trigger queries when changing data source setTimeout(this.onRunQueries, 10); } + + this.forceUpdate(); }; render() {