mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
PanelEditor: Fix queries tab now showing, wrong skipDataQuery logic (#16994)
This commit is contained in:
@@ -105,7 +105,7 @@ export class PanelEditor extends PureComponent<PanelEditorProps> {
|
||||
];
|
||||
|
||||
// handle panels that do not have queries tab
|
||||
if (!plugin.meta.skipDataQuery) {
|
||||
if (plugin.meta.skipDataQuery) {
|
||||
// remove queries tab
|
||||
tabs.shift();
|
||||
// switch tab
|
||||
|
||||
Reference in New Issue
Block a user