mirror of
https://github.com/open-webui/open-webui
synced 2024-12-23 20:32:44 +00:00
refac
This commit is contained in:
parent
d795940ced
commit
8330fcdb5c
@ -151,7 +151,12 @@
|
||||
|
||||
currentChatPage.set(1);
|
||||
allChatsLoaded = false;
|
||||
|
||||
if (search) {
|
||||
await chats.set(await getChatListBySearchText(localStorage.token, search, $currentChatPage));
|
||||
} else {
|
||||
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
||||
}
|
||||
|
||||
// Enable pagination
|
||||
scrollPaginationEnabled.set(true);
|
||||
|
Loading…
Reference in New Issue
Block a user