Browse Source

fix(dashlist): fixed dashlist bug

Torkel Ödegaard 9 năm trước cách đây
mục cha
commit
49a1d4417d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      public/app/plugins/panel/dashlist/module.ts

+ 1 - 1
public/app/plugins/panel/dashlist/module.ts

@@ -25,7 +25,7 @@ class DashListCtrl extends PanelCtrl {
     _.defaults(this.panel, panelDefaults);
 
     if (this.panel.tag) {
-      this.panel.tags = [$scope.panel.tag];
+      this.panel.tags = [this.panel.tag];
       delete this.panel.tag;
     }