Browse Source

fix(dashlink): improve variable naming

bergquist 10 years ago
parent
commit
0f546a4692
1 changed files with 3 additions and 3 deletions
  1. 3 3
      public/app/plugins/panel/dashlist/module.ts

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

@@ -50,9 +50,9 @@ class DashListCtrl extends PanelCtrl {
         limit: this.panel.limit
       }).then(result => {
 
-        this.dashList = dashboardIds.map(e => {
-          return _.find(result, r => {
-            return r.id === e;
+        this.dashList = dashboardIds.map(orderId => {
+          return _.find(result, dashboard => {
+            return dashboard.id === orderId;
           });
         });