fix(ui): Open mailto link in new tab (#7982)

This commit is contained in:
jfrancos-mai 2023-05-24 17:38:37 +00:00 committed by GitHub
parent b3d80e57e8
commit 2c4a59b302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export default function EmailMenuItem({ urn, name, type, key }: EmailMenuItemPro
<Tooltip title={`Share this ${type} via email`}>
{isClicked ? <CheckOutlined /> : <MailOutlined />}
<TextSpan>
<a href={link} style={{ color: 'inherit' }}>
<a href={link} target="_blank" rel="noreferrer" style={{ color: 'inherit' }}>
<b>Email</b>
</a>
</TextSpan>