Timothy Jaeryang Baek 3 ヶ月 前
コミット
e9821c0881
1 ファイル変更1 行追加1 行削除
  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'}
 													loading={file.status === 'uploading'}
 													dismissible={true}
 													dismissible={true}
 													edit={true}
 													edit={true}
-													modal={true}
+													modal={['file', 'collection'].includes(file?.type)}
 													on:dismiss={async () => {
 													on:dismiss={async () => {
 														// Remove from UI state
 														// Remove from UI state
 														files.splice(fileIdx, 1);
 														files.splice(fileIdx, 1);