mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-22 00:31:30 +00:00
fix: preserve chat controls on chat remount
This commit is contained in:
parent
b0a56375d2
commit
c031b53cb1
1 changed files with 1 additions and 1 deletions
|
|
@ -2820,7 +2820,7 @@
|
|||
};
|
||||
|
||||
const saveControls = async () => {
|
||||
if (!$chatId || $temporaryChatEnabled) return;
|
||||
if (loading || !$chatId || $temporaryChatEnabled) return;
|
||||
await updateChatById(localStorage.token, $chatId, { params, files: chatFiles }).catch((err) =>
|
||||
console.error('[controls autosave]', err)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue