mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -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) {
|
||||
panel.initialized();
|
||||
|
||||
if (!this.otherPanelInFullscreen(panel)) {
|
||||
panel.refresh();
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ export class PanelModel {
|
||||
}
|
||||
}
|
||||
|
||||
panelInitialized() {
|
||||
initialized() {
|
||||
this.events.emit('panel-initialized');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user