diff --git a/src/lib/elements/FileUploadPreview.svelte b/src/lib/elements/FileUploadPreview.svelte index 0305d79c2..fa849461c 100644 --- a/src/lib/elements/FileUploadPreview.svelte +++ b/src/lib/elements/FileUploadPreview.svelte @@ -1,12 +1,14 @@ diff --git a/src/routes/chat/+page.svelte b/src/routes/chat/+page.svelte index f7089c553..c3b000df0 100644 --- a/src/routes/chat/+page.svelte +++ b/src/routes/chat/+page.svelte @@ -674,7 +674,11 @@ {#if files.length > 0} - + { + files = files.filter(([f, p]) => f !== e.detail && p !== e.detail) + }} /> {/if} {#if $activeChat.users.length > 0}