mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix: skip the sidebar refresh when a chat is dropped back where it already is (#28664)
This commit is contained in:
parent
4d5084025f
commit
83d049a465
1 changed files with 4 additions and 0 deletions
|
|
@ -1433,6 +1433,10 @@
|
|||
|
||||
if (chat) {
|
||||
console.log(chat);
|
||||
if (!chat.folder_id && !chat.pinned) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (chat.folder_id) {
|
||||
const res = await updateChatFolderIdById(
|
||||
localStorage.token,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue