瀏覽代碼

Merge pull request #4032 from utkarshcmu/snap-bug

Fixing snapshot templating bug
Carl Bergquist 9 年之前
父節點
當前提交
f881ada45c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
       _.each(dash.templating.list, function(variable) {
         variable.query = "";
-        variable.options = [];
+        variable.options = variable.current;
         variable.refresh = false;
       });