From 675d43c7532a9cc9fd716e5cf2fc1393c82111c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 10 May 2019 11:38:18 +0200 Subject: [PATCH] PanelEditor: Fix queries tab now showing, wrong skipDataQuery logic (#16994) --- public/app/features/dashboard/panel_editor/PanelEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/panel_editor/PanelEditor.tsx b/public/app/features/dashboard/panel_editor/PanelEditor.tsx index 152fcda0e05..722b211e4ef 100644 --- a/public/app/features/dashboard/panel_editor/PanelEditor.tsx +++ b/public/app/features/dashboard/panel_editor/PanelEditor.tsx @@ -105,7 +105,7 @@ export class PanelEditor extends PureComponent { ]; // handle panels that do not have queries tab - if (!plugin.meta.skipDataQuery) { + if (plugin.meta.skipDataQuery) { // remove queries tab tabs.shift(); // switch tab