소스 검색

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