[frontend/components] Use actual filename for file attachments

This commit is contained in:
pancakes 2025-02-26 17:59:50 +10:00 committed by Laura Hausmann
parent fe08c4515e
commit 0ea4122ec7
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -39,7 +39,7 @@
<div class="attachment contents">
<Icon Name="Icons.FileArrowDown" Size="3em"/>
<a href="@Attachment.Url" target="_blank">
@Attachment.Url.Split("/").Last()
@Attachment.FileName
</a>
</div>
}