mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
d4fa04c6d5
commit
5729d7ad81
2 changed files with 4 additions and 0 deletions
|
|
@ -4590,6 +4590,7 @@
|
|||
initNewChat();
|
||||
await goto('/');
|
||||
await refreshChatList(localStorage.token, { refreshPinned: true });
|
||||
await refreshFolderChatLists();
|
||||
allTags.set(await getAllTags(localStorage.token));
|
||||
toast.success($i18n.t('Chat deleted.'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -543,6 +543,9 @@
|
|||
|
||||
await tick();
|
||||
if (open) {
|
||||
if (!append) {
|
||||
pendingUpsertChats = [];
|
||||
}
|
||||
// Always use getSharedFolderChats so owners also see chats
|
||||
// created by users who have write access to this folder.
|
||||
const nextPage = append ? chatsPage + 1 : 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue