Kaynağa Gözat

fix(panel): fixed to panel height for text panel and unknown panel

Torkel Ödegaard 9 yıl önce
ebeveyn
işleme
00c70307ad
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      public/app/features/panel/panel_ctrl.ts

+ 1 - 0
public/app/features/panel/panel_ctrl.ts

@@ -47,6 +47,7 @@ export class PanelCtrl {
 
   init() {
     this.publishAppEvent('panel-instantiated', {scope: this.$scope});
+    this.calculatePanelHeight();
     this.refresh();
   }