Timothy Jaeryang Baek 3 bulan lalu
induk
melakukan
e9821c0881
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
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);