浏览代码

fix(templating): another fix for panel links and repeat panels, #2410

Torkel Ödegaard 10 年之前
父节点
当前提交
4c7e52288d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/features/panel/panelMenu.js

+ 1 - 1
public/app/features/panel/panelMenu.js

@@ -56,7 +56,7 @@ function (angular, $, _) {
 
         if ($scope.panel.links) {
           _.each($scope.panel.links, function(link) {
-            var info = linkSrv.getPanelLinkAnchorInfo(link);
+            var info = linkSrv.getPanelLinkAnchorInfo(link, $scope.panel.scopedVars);
             menu.push({text: info.title, href: info.href, target: info.target });
           });
         }