use origin file name for download

main
alex 2024-05-04 14:58:08 +02:00
parent cced49dd34
commit bd4385e452
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default function MyAttachments({ attachments, downloadUrl }) {
<a
key={"a" + file.SystemFileName}
href={getDownloadUrl(file)}
download="test"
download={file.OriginalFileName}
target="_blank"
rel="noreferrer"
>