mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AngularPanels: Fixes issue with some panels not rendering when going into edit mode due to no height (#30113)
This commit is contained in:
parent
80130d1c6f
commit
cbce1f93ca
@ -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…
Reference in New Issue
Block a user