fix: skip the sidebar refresh when a chat is dropped back where it already is (#28664)

This commit is contained in:
G30 authored and GitHub committed 2026-08-24 17:20:44 -04:00
1 parent 4d5084025f
commit 83d049a465
1 file changed
+4
+4
View File
@@ -1433,6 +1433,10 @@
if (chat) { if (chat) {
console.log(chat); console.log(chat);
if (!chat.folder_id && !chat.pinned) {
return;
}
if (chat.folder_id) { if (chat.folder_id) {
const res = await updateChatFolderIdById( const res = await updateChatFolderIdById(
localStorage.token, localStorage.token,