fix: skip the sidebar refresh when a chat is dropped back where it already is (#28664)
This commit is contained in:
1 file changed
+4
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user