fix: dropping a chat on the folder it is already in no longer moves it or reloads the sidebar's folders (#34461)

This commit is contained in:
G30 authored and GitHub committed 2026-11-16 21:13:37 +09:00
1 parent 6009a71f24
commit 683654ec22
1 file changed
+1 -1
@@ -286,7 +286,7 @@
});
}
if (chat) {
if (chat && chat.folder_id !== folderId) {
// Move the chat
const res = await updateChatFolderIdById(
localStorage.token,