mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
fix: use the moved chat's pinned state when a folder chat is dropped on Chats or Pinned (#31368)
This commit is contained in:
@@ -1464,6 +1464,10 @@
|
||||
});
|
||||
|
||||
folderRegistry[chat.folder_id]?.setFolderItems();
|
||||
|
||||
if (res) {
|
||||
chat = res;
|
||||
}
|
||||
}
|
||||
|
||||
if (chat.pinned) {
|
||||
@@ -1561,6 +1565,10 @@
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
if (res) {
|
||||
chat = res;
|
||||
}
|
||||
}
|
||||
|
||||
if (!chat.pinned) {
|
||||
|
||||
Reference in New Issue
Block a user