Prechádzať zdrojové kódy

Merge pull request #4032 from utkarshcmu/snap-bug

Fixing snapshot templating bug
Carl Bergquist 9 rokov pred
rodič
commit
f881ada45c

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

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