mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 13:25:20 +00:00
refac
This commit is contained in:
parent
b3c4bc6041
commit
e9821c0881
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue