mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
93a91a678a
commit
4797799400
1 changed files with 6 additions and 0 deletions
|
|
@ -97,6 +97,12 @@
|
|||
} else {
|
||||
searchDebounceTimeout = setTimeout(async () => {
|
||||
chatList = await getChatListBySearchText(localStorage.token, query, page);
|
||||
|
||||
if ((chatList ?? []).length === 0) {
|
||||
allChatsLoaded = true;
|
||||
} else {
|
||||
allChatsLoaded = false;
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue