diff --git a/public/app/core/components/form_dropdown/form_dropdown.ts b/public/app/core/components/form_dropdown/form_dropdown.ts index d8212e2f55c..1c611e94397 100644 --- a/public/app/core/components/form_dropdown/form_dropdown.ts +++ b/public/app/core/components/form_dropdown/form_dropdown.ts @@ -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(); diff --git a/public/app/features/panel/metrics_tab.ts b/public/app/features/panel/metrics_tab.ts index c03c4d83bc2..e1825173172 100644 --- a/public/app/features/panel/metrics_tab.ts +++ b/public/app/features/panel/metrics_tab.ts @@ -1,7 +1,6 @@ /// 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);