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

This commit is contained in:
Torkel Ödegaard 2019-05-10 11:38:18 +02:00 committed by GitHub
parent 1d7bb2a763
commit 675d43c753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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