mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
fix
This commit is contained in:
parent
effcbd6301
commit
e35be175fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue