Skip to content

Commit 5aeb1ca

Browse files
fix: persist control edits across navigation (open-webui#26336)
1 parent df634bb commit 5aeb1ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/components/chat/Chat.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,8 +1477,8 @@
14771477
14781478
chatTitle.set(chatContent.title);
14791479
1480-
params = chatContent?.params ?? {};
1481-
chatFiles = chatContent?.files ?? [];
1480+
params = structuredClone(chatContent?.params ?? {});
1481+
chatFiles = structuredClone(chatContent?.files ?? []);
14821482
14831483
// Load tasks from chat-level DB field
14841484
chatTasks = chat?.tasks ?? [];

0 commit comments

Comments
 (0)