enable goto explore from query panel editor for all datasources

This commit is contained in:
Erik Sundell
2018-12-17 16:44:57 +01:00
parent 3efaf52049
commit 18b39967fc
2 changed files with 13 additions and 11 deletions

View File

@@ -233,12 +233,7 @@ class MetricsPanelCtrl extends PanelCtrl {
getAdditionalMenuItems() {
const items = [];
if (
config.exploreEnabled &&
this.contextSrv.isEditor &&
this.datasource &&
(this.datasource.meta.explore || this.datasource.meta.id === 'mixed')
) {
if (config.exploreEnabled && this.contextSrv.isEditor && this.datasource) {
items.push({
text: 'Explore',
click: 'ctrl.explore();',