Commit cbce1f93 by Torkel Ödegaard Committed by GitHub

AngularPanels: Fixes issue with some panels not rendering when going into edit…

AngularPanels: Fixes issue with some panels not rendering when going into edit mode due to no height (#30113)
parent 80130d1c
......@@ -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();
}
}
......
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