chore: always target blank for download button

mentioneverything
Paul Makles 2025-01-29 13:41:54 +00:00
parent 7750276554
commit 18243f0207
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -49,10 +49,11 @@ export default function AttachmentActions({ attachment }: Props) {
</IconButton>
</a>
<a
target="_blank"
href={download_url}
className={styles.downloadIcon}
download
target={isFirefox || window.native ? "_blank" : "_self"}
// target={isFirefox || window.native ? "_blank" : "_self"}
rel="noreferrer">
<IconButton>
<Download size={24} />