mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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
|
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user