mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
49677e9c9d
commit
b2999ad590
2 changed files with 3 additions and 2 deletions
|
|
@ -56,7 +56,7 @@
|
|||
let filteredChatList = [];
|
||||
|
||||
// Pagination variables
|
||||
let chatListLoading = false;
|
||||
let chatListLoading = true;
|
||||
let allChatsLoaded = false;
|
||||
|
||||
$: filteredChatList = $chats.filter((chat) => {
|
||||
|
|
@ -107,6 +107,7 @@
|
|||
|
||||
await pinnedChats.set(await getChatListByTagName(localStorage.token, 'pinned'));
|
||||
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
||||
chatListLoading = false;
|
||||
|
||||
let touchstart;
|
||||
let touchend;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export const showChangelog = writable(false);
|
|||
export const showCallOverlay = writable(false);
|
||||
|
||||
export const scrollPaginationEnabled = writable(true);
|
||||
export const currentChatPage = writable(0);
|
||||
export const currentChatPage = writable(1);
|
||||
|
||||
export type Model = OpenAIModel | OllamaModel;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue