Commit 02d303a5 by Torkel Ödegaard Committed by GitHub

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

parent 38082747
...@@ -218,7 +218,7 @@ const ContextMenuItem: React.FC<ContextMenuItemProps> = React.memo( ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment