mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
GraphContextMenu: Fixes add annotation action & data links that cause full page reload (#31915)
* GraphContextMenu: Fixes add annotation action * Fixed issue with data links causing full page reload * A better solution to closing context menu
This commit is contained in:
@@ -324,7 +324,7 @@ export class LinkSrv implements LinkService {
|
||||
const info: LinkModel<T> = {
|
||||
href: locationUtil.assureBaseUrl(href.replace(/\n/g, '')),
|
||||
title: replaceVariables ? replaceVariables(link.title || '') : link.title,
|
||||
target: link.targetBlank ? '_blank' : '_self',
|
||||
target: link.targetBlank ? '_blank' : undefined,
|
||||
origin,
|
||||
onClick,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user