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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ const ContextMenuItem: React.FC<ContextMenuItemProps> = React.memo(
<div className={styles.item}> <div className={styles.item}>
<a <a
href={url ? url : undefined} href={url ? url : undefined}
target={target || '_self'} target={target}
className={cx(className, styles.link)} className={cx(className, styles.link)}
onClick={e => { onClick={e => {
if (onClick) { if (onClick) {