mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: data source selector did not show, fixes #8692
This commit is contained in:
@@ -30,6 +30,7 @@ export class FormDropdownCtrl {
|
||||
optionCache: any;
|
||||
lookupText: boolean;
|
||||
|
||||
/** @ngInject **/
|
||||
constructor(private $scope, $element, private $sce, private templateSrv, private $q) {
|
||||
this.inputElement = $element.find('input').first();
|
||||
this.linkElement = $element.find('a').first();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
///<reference path="../../headers/common.d.ts" />
|
||||
|
||||
import _ from 'lodash';
|
||||
//import {coreModule} from 'app/core/core';
|
||||
import {DashboardModel} from '../dashboard/model';
|
||||
|
||||
export class MetricsTabCtrl {
|
||||
@@ -32,7 +31,6 @@ export class MetricsTabCtrl {
|
||||
}
|
||||
|
||||
this.addQueryDropdown = {text: 'Add Query', value: null, fake: true};
|
||||
|
||||
// update next ref id
|
||||
this.panelCtrl.nextRefId = this.dashboard.getNextQueryLetter(this.panel);
|
||||
}
|
||||
@@ -80,4 +78,3 @@ export function metricsTabDirective() {
|
||||
};
|
||||
}
|
||||
|
||||
//coreModule.directive('metricsTab', metricsTabDirective);
|
||||
|
||||
Reference in New Issue
Block a user