fix for panel-initialized event not being called

This commit is contained in:
Torkel Ödegaard 2018-12-05 09:23:47 +01:00
parent a6ef156922
commit 757cada4a5
2 changed files with 3 additions and 1 deletions

View File

@ -223,6 +223,8 @@ export class DashboardModel {
}
panelInitialized(panel: PanelModel) {
panel.initialized();
if (!this.otherPanelInFullscreen(panel)) {
panel.refresh();
}

View File

@ -132,7 +132,7 @@ export class PanelModel {
}
}
panelInitialized() {
initialized() {
this.events.emit('panel-initialized');
}