mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-15 04:18:18 +00:00
fix: a file uploaded to a note no longer stays stuck uploading after another save
This commit is contained in:
parent
93d25dbe3b
commit
c8f3566d56
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ ${content}
|
|||
|
||||
fileItem.url = `${uploadedFile.id}`;
|
||||
|
||||
files = files;
|
||||
files = files.map((item) => (item?.itemId === tempItemId ? fileItem : item));
|
||||
} else {
|
||||
files = files.filter((item) => item?.itemId !== tempItemId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue