fix: skip the sidebar refresh when a chat is dropped back where it already is

This commit is contained in:
silentoplayz 2026-08-16 14:17:48 -04:00
parent 31d08d592c
commit c2fedf5e40

View file

@ -1436,6 +1436,10 @@
if (chat) {
console.log(chat);
if (!chat.folder_id && !chat.pinned) {
return;
}
if (chat.folder_id) {
const res = await updateChatFolderIdById(
localStorage.token,