Merge pull request #14324 from grafana/panel-initialized-fix

fix for panel-initialized event not being called
This commit is contained in:
Torkel Ödegaard
2018-12-05 10:32:25 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -223,6 +223,8 @@ export class DashboardModel {
}
panelInitialized(panel: PanelModel) {
panel.initialized();
if (!this.otherPanelInFullscreen(panel)) {
panel.refresh();
}
+1 -1
View File
@@ -132,7 +132,7 @@ export class PanelModel {
}
}
panelInitialized() {
initialized() {
this.events.emit('panel-initialized');
}