mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(panellinks): fixed open in new tab issue for dashboard links, Fixes #2354
This commit is contained in:
parent
9afdea8d2a
commit
2f4d3be303
@ -70,6 +70,7 @@ function (angular, kbn, _) {
|
|||||||
else if (link.dashUri) {
|
else if (link.dashUri) {
|
||||||
info.href = 'dashboard/' + link.dashUri + '?';
|
info.href = 'dashboard/' + link.dashUri + '?';
|
||||||
info.title = templateSrv.replace(link.title || '');
|
info.title = templateSrv.replace(link.title || '');
|
||||||
|
info.target = link.targetBlank ? '_blank' : '';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
info.title = templateSrv.replace(link.title || '');
|
info.title = templateSrv.replace(link.title || '');
|
||||||
|
Loading…
Reference in New Issue
Block a user