Skip to content

Commit 0c9eb04

Browse files
committed
fix: persist control edits across navigation
1 parent a724587 commit 0c9eb04

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
@@ -1501,8 +1501,8 @@
15011501
15021502
chatTitle.set(chatContent.title);
15031503
1504-
params = chatContent?.params ?? {};
1505-
chatFiles = chatContent?.files ?? [];
1504+
params = structuredClone(chatContent?.params ?? {});
1505+
chatFiles = structuredClone(chatContent?.files ?? []);
15061506
15071507
// Load tasks from chat-level DB field
15081508
chatTasks = chat?.tasks ?? [];

0 commit comments

Comments
 (0)