AngularPanels: Fixes issue with some panels not rendering when going into edit mode due to no height (#30113)

pull/30141/head
Torkel Ödegaard 4 years ago committed by GitHub
parent 80130d1c6f
commit cbce1f93ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/panel/panel_directive.ts
  2. 2
      public/app/plugins/panel/heatmap/display_editor.ts

@ -66,6 +66,8 @@ module.directive('grafanaPanel', ($rootScope, $document, $timeout) => {
ctrl.width = scope.$parent.$parent.size.width;
}
updateDimensionsFromParentScope();
// Pass PanelModel events down to angular controller event emitter
subs.add(
panel.events.subscribe(RefreshEvent, () => {

@ -7,8 +7,6 @@ export class HeatmapDisplayEditorCtrl {
$scope.editor = this;
this.panelCtrl = $scope.ctrl;
this.panel = this.panelCtrl.panel;
this.panelCtrl.render();
}
}

Loading…
Cancel
Save