Browse Source

Merge pull request #4032 from utkarshcmu/snap-bug

Fixing snapshot templating bug
Carl Bergquist 9 years ago
parent
commit
f881ada45c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/dashboard/shareSnapshotCtrl.js

+ 1 - 1
public/app/features/dashboard/shareSnapshotCtrl.js

@@ -117,7 +117,7 @@ function (angular, _) {
       // remove template queries
       // remove template queries
       _.each(dash.templating.list, function(variable) {
       _.each(dash.templating.list, function(variable) {
         variable.query = "";
         variable.query = "";
-        variable.options = [];
+        variable.options = variable.current;
         variable.refresh = false;
         variable.refresh = false;
       });
       });