fix dashboard/panel link in scripted dashboard

This commit is contained in:
Mitsuhiro Tanda
2015-07-17 15:38:36 +09:00
parent 5b0585ac7f
commit 8ac47b4e24
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ function (angular, kbn, _) {
this.getPanelLinkAnchorInfo = function(link) {
var info = {};
if (link.type === 'absolute') {
info.target = link.targetBlank ? '_blank' : '';
info.target = link.targetBlank ? '_blank' : '_self';
info.href = templateSrv.replace(link.url || '');
info.title = templateSrv.replace(link.title || '');
info.href += '?';