mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
850a864b02
commit
0e64b31adb
1 changed files with 6 additions and 6 deletions
|
|
@ -72,12 +72,11 @@
|
|||
|
||||
let searchDebounceTimer;
|
||||
|
||||
$: if (
|
||||
page !== undefined &&
|
||||
query !== undefined &&
|
||||
selectedTag !== undefined &&
|
||||
viewOption !== undefined
|
||||
) {
|
||||
$: if (page !== undefined && selectedTag !== undefined && viewOption !== undefined) {
|
||||
getModelList();
|
||||
}
|
||||
|
||||
$: if (query !== undefined) {
|
||||
clearTimeout(searchDebounceTimer);
|
||||
searchDebounceTimer = setTimeout(() => {
|
||||
getModelList();
|
||||
|
|
@ -239,6 +238,7 @@
|
|||
let groups = await getGroups(localStorage.token);
|
||||
groupIds = groups.map((group) => group.id);
|
||||
|
||||
await tick();
|
||||
loaded = true;
|
||||
|
||||
const onKeyDown = (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue