Skip to content

Commit bf30054

Browse files
committed
fix: persist control edits across navigation
1 parent c441130 commit bf30054

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

0 commit comments

Comments
 (0)