mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(build): minor fix
This commit is contained in:
@@ -55,23 +55,3 @@ export class QueryCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
// var directivesModule = angular.module('grafana.directives');
|
||||
//
|
||||
// /** @ngInject */
|
||||
// function metricsQueryOptions(dynamicDirectiveSrv, datasourceSrv) {
|
||||
// return dynamicDirectiveSrv.create({
|
||||
// watchPath: "ctrl.panel.datasource",
|
||||
// directive: scope => {
|
||||
// return datasourceSrv.get(scope.ctrl.panel.datasource).then(ds => {
|
||||
// return System.import(ds.meta.module).then(dsModule => {
|
||||
// return {
|
||||
// name: 'metrics-query-options-' + ds.meta.id,
|
||||
// fn: dsModule.metricsQueryOptions
|
||||
// };
|
||||
// });
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
//
|
||||
// directivesModule.directive('metricsQueryOptions', metricsQueryOptions);
|
||||
|
||||
@@ -5,6 +5,7 @@ import {PanelCtrl} from '../../../features/panel/panel';
|
||||
export class UnknownPanelCtrl extends PanelCtrl {
|
||||
static templateUrl = 'public/app/plugins/panel/unknown/module.html';
|
||||
|
||||
/** @ngInject */
|
||||
constructor($scope, $injector) {
|
||||
super($scope, $injector);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user