Commit 757cada4 by Torkel Ödegaard

fix for panel-initialized event not being called

parent a6ef1569
...@@ -223,6 +223,8 @@ export class DashboardModel { ...@@ -223,6 +223,8 @@ export class DashboardModel {
} }
panelInitialized(panel: PanelModel) { panelInitialized(panel: PanelModel) {
panel.initialized();
if (!this.otherPanelInFullscreen(panel)) { if (!this.otherPanelInFullscreen(panel)) {
panel.refresh(); panel.refresh();
} }
......
...@@ -132,7 +132,7 @@ export class PanelModel { ...@@ -132,7 +132,7 @@ export class PanelModel {
} }
} }
panelInitialized() { initialized() {
this.events.emit('panel-initialized'); this.events.emit('panel-initialized');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment