mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-18 15:25:20 +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 {
|
} else {
|
||||||
searchDebounceTimeout = setTimeout(async () => {
|
searchDebounceTimeout = setTimeout(async () => {
|
||||||
chatList = await getChatListBySearchText(localStorage.token, query, page);
|
chatList = await getChatListBySearchText(localStorage.token, query, page);
|
||||||
|
|
||||||
|
if ((chatList ?? []).length === 0) {
|
||||||
|
allChatsLoaded = true;
|
||||||
|
} else {
|
||||||
|
allChatsLoaded = false;
|
||||||
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue