Jelajahi Sumber

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

Torkel Ödegaard 9 tahun lalu
induk
melakukan
00c70307ad
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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();
   }