Skip to content

Commit 2c4a59b

Browse files
authored
fix(ui): Open mailto link in new tab (#7982)
1 parent b3d80e5 commit 2c4a59b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datahub-web-react/src/app/shared/share/items/EmailMenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function EmailMenuItem({ urn, name, type, key }: EmailMenuItemPro
4444
<Tooltip title={`Share this ${type} via email`}>
4545
{isClicked ? <CheckOutlined /> : <MailOutlined />}
4646
<TextSpan>
47-
<a href={link} style={{ color: 'inherit' }}>
47+
<a href={link} target="_blank" rel="noreferrer" style={{ color: 'inherit' }}>
4848
<b>Email</b>
4949
</a>
5050
</TextSpan>

0 commit comments

Comments
 (0)