瀏覽代碼

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

Torkel Ödegaard 9 年之前
父節點
當前提交
00c70307ad
共有 1 個文件被更改,包括 1 次插入0 次删除
  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() {
   init() {
     this.publishAppEvent('panel-instantiated', {scope: this.$scope});
     this.publishAppEvent('panel-instantiated', {scope: this.$scope});
+    this.calculatePanelHeight();
     this.refresh();
     this.refresh();
   }
   }