소스 검색

SinglestatPanel: small fix for drilldown link click while fullscreen mode, #1041

Torkel Ödegaard 11 년 전
부모
커밋
8ad83b8d58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/app/panels/singlestat/singleStatPanel.js

+ 1 - 1
src/app/panels/singlestat/singleStatPanel.js

@@ -185,7 +185,7 @@ function (angular, app, _, $) {
           var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
           if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); }
 
-          $timeout(function() { $location.path(linkInfo.href); });
+          $timeout(function() { $location.search({}); $location.path(linkInfo.href); });
 
           drilldownTooltip.detach();
         });