Ver código fonte

Fixing snapshot templating bug

utkarshcmu 10 anos atrás
pai
commit
b9b3b75c0c

+ 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;
       });
       });