浏览代码

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

Torkel Ödegaard 10 年之前
父节点
当前提交
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() {
     this.publishAppEvent('panel-instantiated', {scope: this.$scope});
+    this.calculatePanelHeight();
     this.refresh();
   }