mirror of
https://github.com/open-webui/open-webui
synced 2025-05-14 02:27:19 +00:00
fix
This commit is contained in:
parent
effcbd6301
commit
e35be175fc
@ -595,7 +595,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!chat.pinned) {
|
if (!chat.pinned) {
|
||||||
const res = await toggleChatPinnedStatusById(localStorage.token, id);
|
const res = await toggleChatPinnedStatusById(localStorage.token, chat.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
initChatList();
|
initChatList();
|
||||||
@ -681,7 +681,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (chat.pinned) {
|
if (chat.pinned) {
|
||||||
const res = await toggleChatPinnedStatusById(localStorage.token, id);
|
const res = await toggleChatPinnedStatusById(localStorage.token, chat, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
initChatList();
|
initChatList();
|
||||||
|
Loading…
Reference in New Issue
Block a user