Merge pull request #14324 from grafana/panel-initialized-fix

fix for panel-initialized event not being called
pull/14347/head
Torkel Ödegaard 7 years ago committed by GitHub
commit 311ec3c0af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/dashboard/dashboard_model.ts
  2. 2
      public/app/features/dashboard/panel_model.ts

@ -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…
Cancel
Save