Torkel Ödegaard 11 anni fa
parent
commit
c658189c85
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/app/features/dashboard/dynamicDashboardSrv.js

+ 1 - 1
src/app/features/dashboard/dynamicDashboardSrv.js

@@ -104,7 +104,7 @@ function (angular, _) {
 
         for (i = 0; i < copy.panels.length; i++) {
           panel = row.panels[i];
-          panel.scopedVars = {};
+          panel.scopedVars = panel.scopedVars || {};
           panel.scopedVars[variable.name] = option;
         }
       });