mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-04 02:33:43 +00:00
fix: keep a message's attachments when its edit is cancelled (#30281)
This commit is contained in:
parent
8e4cc946ce
commit
4c00e08aa1
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@
|
|||
const editMessageHandler = async () => {
|
||||
edit = true;
|
||||
editedContent = message?.content ?? '';
|
||||
editedFiles = message.files;
|
||||
editedFiles = [...(message.files ?? [])];
|
||||
|
||||
await tick();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue