mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Canvas: Fix data links target (#95113)
This commit is contained in:
parent
3ec178ae44
commit
b2e53997e2
@ -687,7 +687,7 @@ export class ElementState implements LayerElement {
|
||||
if (this.options.oneClickMode === OneClickMode.Link) {
|
||||
let primaryDataLink = this.getPrimaryDataLink();
|
||||
if (primaryDataLink) {
|
||||
window.open(primaryDataLink.href, primaryDataLink.target);
|
||||
window.open(primaryDataLink.href, primaryDataLink.target ?? '_self');
|
||||
}
|
||||
} else if (this.options.oneClickMode === OneClickMode.Action) {
|
||||
let primaryAction = this.getPrimaryAction();
|
||||
|
Loading…
Reference in New Issue
Block a user