Browse Source

PanelEditor: Fix queries tab now showing, wrong skipDataQuery logic (#16994)

Torkel Ödegaard 6 years ago
parent
commit
675d43c753
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/dashboard/panel_editor/PanelEditor.tsx

+ 1 - 1
public/app/features/dashboard/panel_editor/PanelEditor.tsx

@@ -105,7 +105,7 @@ export class PanelEditor extends PureComponent<PanelEditorProps> {
     ];
     ];
 
 
     // handle panels that do not have queries tab
     // handle panels that do not have queries tab
-    if (!plugin.meta.skipDataQuery) {
+    if (plugin.meta.skipDataQuery) {
       // remove queries tab
       // remove queries tab
       tabs.shift();
       tabs.shift();
       // switch tab
       // switch tab