Fix attachment image preview (#3372)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-06-07 11:17:38 +06:00
committed by GitHub
parent bec400bfc8
commit 2ac3346073
6 changed files with 6 additions and 3 deletions
@@ -754,6 +754,7 @@
{#each Array.from(attachments.values()) as attachment}
<AttachmentPresenter
value={attachment}
showPreview
removable
on:remove={(result) => {
if (result.detail !== undefined) descriptionBox.removeAttachmentById(result.detail._id)