Open
Description
does not appear in Grafana 6.3.5.
But, if you add an event init-edit-mode
into BosunIncidentListCtrl
, the panel is displayed and works correctly.
Example this.events.on('init-edit-mode', this.onInitMetricsPanelEditMode.bind(this));
:
export class BosunIncidentListCtrl extends MetricsPanelCtrl {
constructor($scope, $injector, $rootScope, $window, datasourceSrv, templateSrv, utilSrv, backendSrv, dashboardSrv) {
super($scope, $injector);
var self = this;
this.panelCtrl = $scope.ctrl;
this.datasourceSrv = datasourceSrv;
this.$window = $window;
this.templateSrv = templateSrv;
this.$rootScope = $rootScope;
this.linkUrl = "";
this.incidentList = [];
this.refreshData = this.refreshData.bind(this);
this.refreshData();
this.utilSrv = utilSrv;
this.bodyHTML = "";
this.reversedFields = {};
this.showHelp = 0;
this.storeId = dashboardSrv.getCurrent().id + "-" + this.panel.id;
backendSrv.get('/api/user').then(user => {
this.user = user;
});
this.datasourceSrv.get(this.panel.datasource).then(datasource => {
this.preRelease = datasource.preRelease;
});
this.events.on('init-edit-mode', this.onInitMetricsPanelEditMode.bind(this));
}
You can make changes to the plugin for support Grafana 6.3.5?
Metadata
Assignees
Labels
No labels
Activity