From 32543f33800eb799b15aa5457914f11acbaf9909 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Fri, 8 May 2020 17:31:17 +0300 Subject: [PATCH] Chore: clean up --- src/panel-triggers/triggers_panel_ctrl.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/panel-triggers/triggers_panel_ctrl.js b/src/panel-triggers/triggers_panel_ctrl.js index 9ce138d..dd43e9d 100644 --- a/src/panel-triggers/triggers_panel_ctrl.js +++ b/src/panel-triggers/triggers_panel_ctrl.js @@ -81,19 +81,14 @@ const triggerStatusMap = { export class TriggerPanelCtrl extends MetricsPanelCtrl { /** @ngInject */ - constructor($scope, $injector, $timeout, templateSrv, contextSrv, dashboardSrv, timeSrv) { + constructor($scope, $injector, $timeout) { super($scope, $injector); - this.templateSrv = templateSrv; - this.contextSrv = contextSrv; - this.dashboardSrv = dashboardSrv; - this.timeSrv = timeSrv; this.scope = $scope; this.$timeout = $timeout; // Tell Grafana do not convert data frames to table or series this.useDataFrames = true; - this.editorTabIndex = 1; this.triggerStatusMap = triggerStatusMap; this.defaultTimeFormat = DEFAULT_TIME_FORMAT; this.pageIndex = 0;