fix missing ngInject
This commit is contained in:
@@ -31,7 +31,6 @@ export class ZabbixDSConfigController {
|
|||||||
this.dbDataSources = this.getSupportedDBDataSources();
|
this.dbDataSources = this.getSupportedDBDataSources();
|
||||||
this.zabbixVersions = _.cloneDeep(zabbixVersions);
|
this.zabbixVersions = _.cloneDeep(zabbixVersions);
|
||||||
this.autoDetectZabbixVersion();
|
this.autoDetectZabbixVersion();
|
||||||
console.log(this.dbDataSources);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getSupportedDBDataSources() {
|
getSupportedDBDataSources() {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import * as migrations from './migrations';
|
|||||||
|
|
||||||
export class ZabbixQueryController extends QueryCtrl {
|
export class ZabbixQueryController extends QueryCtrl {
|
||||||
|
|
||||||
// ZabbixQueryCtrl constructor
|
/** @ngInject */
|
||||||
constructor($scope, $injector, $rootScope, $sce, templateSrv) {
|
constructor($scope, $injector, $rootScope, $sce, templateSrv) {
|
||||||
super($scope, $injector);
|
super($scope, $injector);
|
||||||
this.zabbix = this.datasource.zabbix;
|
this.zabbix = this.datasource.zabbix;
|
||||||
|
|||||||
Reference in New Issue
Block a user