From 683654ec22c5b8fd373b03c12ffd7b16b8564db7 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Mon, 16 Nov 2026 07:13:37 -0500 Subject: [PATCH] fix: dropping a chat on the folder it is already in no longer moves it or reloads the sidebar's folders (#34461) --- src/lib/components/layout/Sidebar/RecursiveFolder.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte index bc6ae2ba6c..a7771786c6 100644 --- a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte +++ b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte @@ -286,7 +286,7 @@ }); } - if (chat) { + if (chat && chat.folder_id !== folderId) { // Move the chat const res = await updateChatFolderIdById( localStorage.token,