|
|
|
@ -10,14 +10,14 @@ export const getPanelEditorTabs = memoizeOne((location: LocationState, plugin?: |
|
|
|
|
return tabs; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
let defaultTab = PanelEditorTabId.Visualization; |
|
|
|
|
let defaultTab = PanelEditorTabId.Visualize; |
|
|
|
|
|
|
|
|
|
if (!plugin.meta.skipDataQuery) { |
|
|
|
|
defaultTab = PanelEditorTabId.Queries; |
|
|
|
|
defaultTab = PanelEditorTabId.Query; |
|
|
|
|
|
|
|
|
|
tabs.push({ |
|
|
|
|
id: PanelEditorTabId.Queries, |
|
|
|
|
text: 'Queries', |
|
|
|
|
id: PanelEditorTabId.Query, |
|
|
|
|
text: 'Query', |
|
|
|
|
icon: 'gicon gicon-datasources', |
|
|
|
|
active: false, |
|
|
|
|
}); |
|
|
|
@ -31,8 +31,8 @@ export const getPanelEditorTabs = memoizeOne((location: LocationState, plugin?: |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tabs.push({ |
|
|
|
|
id: PanelEditorTabId.Visualization, |
|
|
|
|
text: 'Visualization', |
|
|
|
|
id: PanelEditorTabId.Visualize, |
|
|
|
|
text: 'Visualize', |
|
|
|
|
icon: 'fa fa-bar-chart', |
|
|
|
|
active: false, |
|
|
|
|
}); |
|
|
|
|