This commit is contained in:
Timothy Jaeryang Baek 2026-10-08 18:13:35 +04:00
parent d4fa04c6d5
commit 5729d7ad81
2 changed files with 4 additions and 0 deletions

View file

@ -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.'));
}

View file

@ -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;