fix(panellinks): fixed open in new tab issue for dashboard links, Fixes #2354

This commit is contained in:
Torkel Ödegaard 2015-07-16 12:06:49 +02:00
parent 9afdea8d2a
commit 2f4d3be303

View File

@ -70,6 +70,7 @@ function (angular, kbn, _) {
else if (link.dashUri) {
info.href = 'dashboard/' + link.dashUri + '?';
info.title = templateSrv.replace(link.title || '');
info.target = link.targetBlank ? '_blank' : '';
}
else {
info.title = templateSrv.replace(link.title || '');