mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix for panel-initialized event not being called
This commit is contained in:
parent
a6ef156922
commit
757cada4a5
@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
panelInitialized() {
|
initialized() {
|
||||||
this.events.emit('panel-initialized');
|
this.events.emit('panel-initialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user