DataLinks: Do not full page reload data links links (#23429)

This commit is contained in:
Torkel Ödegaard
2020-04-09 07:58:57 +02:00
committed by GitHub
parent 38082747dc
commit 02d303a595
@@ -218,7 +218,7 @@ const ContextMenuItem: React.FC<ContextMenuItemProps> = React.memo(
<div className={styles.item}>
<a
href={url ? url : undefined}
target={target || '_self'}
target={target}
className={cx(className, styles.link)}
onClick={e => {
if (onClick) {