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'}
 													dismissible={true}
 													edit={true}
-													modal={true}
+													modal={['file', 'collection'].includes(file?.type)}
 													on:dismiss={async () => {
 														// Remove from UI state
 														files.splice(fileIdx, 1);