mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
a3c9b46e9a
commit
139e4f93cb
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,7 @@
|
||||||
} else {
|
} else {
|
||||||
// Legacy format
|
// Legacy format
|
||||||
await importChat(localStorage.token, chat, {}, false, null);
|
await importChat(localStorage.token, chat, {}, false, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
currentChatPage.set(1);
|
currentChatPage.set(1);
|
||||||
|
|
@ -108,6 +109,7 @@
|
||||||
const handleArchivedChatsChange = async () => {
|
const handleArchivedChatsChange = async () => {
|
||||||
currentChatPage.set(1);
|
currentChatPage.set(1);
|
||||||
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
||||||
|
|
||||||
scrollPaginationEnabled.set(true);
|
scrollPaginationEnabled.set(true);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue