Pārlūkot izejas kodu

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

Torkel Ödegaard 10 gadi atpakaļ
vecāks
revīzija
00c70307ad
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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();
   }