fix for panel-initialized event not being called

(cherry picked from commit 757cada4a5)
This commit is contained in:
Torkel Ödegaard
2018-12-10 14:34:46 +01:00
parent 0a19581c48
commit 6f241a4bac
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');
}