From e9821c0881b3a2d68a4bbdfd33d0fd7e3eb9764b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 9 Jul 2025 01:31:28 +0400 Subject: [PATCH] refac --- src/lib/components/chat/MessageInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index f917ec1309..3ae08b11f9 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -1145,7 +1145,7 @@ loading={file.status === 'uploading'} dismissible={true} edit={true} - modal={true} + modal={['file', 'collection'].includes(file?.type)} on:dismiss={async () => { // Remove from UI state files.splice(fileIdx, 1);