mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Update SearchModal.svelte
This commit is contained in:
parent
c5f9b89bc0
commit
bfe0280eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@
|
||||||
chatList = await getChatList(localStorage.token, page);
|
chatList = await getChatList(localStorage.token, page);
|
||||||
} else {
|
} else {
|
||||||
searchDebounceTimeout = setTimeout(async () => {
|
searchDebounceTimeout = setTimeout(async () => {
|
||||||
chatList = await getChatListBySearchText(localStorage.token, query, page);
|
chatList = await getChatListBySearchText(localStorage.token, query.slice(0, 500), page);
|
||||||
|
|
||||||
if ((chatList ?? []).length === 0) {
|
if ((chatList ?? []).length === 0) {
|
||||||
allChatsLoaded = true;
|
allChatsLoaded = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue