Removed unused alertingSrv

This commit is contained in:
Torkel Ödegaard 2019-01-23 12:09:58 +01:00
parent 874792dfcb
commit a4824085e3
3 changed files with 0 additions and 16 deletions

View File

@ -1,13 +0,0 @@
import coreModule from 'app/core/core_module';
export class AlertingSrv {
dashboard: any;
alerts: any[];
init(dashboard, alerts) {
this.dashboard = dashboard;
this.alerts = alerts || [];
}
}
coreModule.service('alertingSrv', AlertingSrv);

View File

@ -22,7 +22,6 @@ export class DashboardCtrl {
private keybindingSrv,
private timeSrv,
private variableSrv,
private alertingSrv,
private dashboardSrv,
private unsavedChangesSrv,
private dashboardViewStateSrv,
@ -54,7 +53,6 @@ export class DashboardCtrl {
// init services
this.timeSrv.init(dashboard);
this.alertingSrv.init(dashboard, data.alerts);
this.annotationsSrv.init(dashboard);
// template values service needs to initialize completely before

View File

@ -1,5 +1,4 @@
import './dashboard_ctrl';
import './alerting_srv';
import './dashboard_loader_srv';
import './save_as_modal';
import './save_modal';