mirror of
https://github.com/grafana/grafana.git
synced 2025-01-17 04:02:50 -06:00
PanelEditor: Fix queries tab now showing, wrong skipDataQuery logic (#16994)
This commit is contained in:
parent
1d7bb2a763
commit
675d43c753
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user