This commit is contained in:
Timothy Jaeryang Baek
2026-01-31 17:03:24 -06:00
parent 643c661a6f
commit e5dbfc420d
2 changed files with 6 additions and 4 deletions

View File

@@ -48,9 +48,7 @@
$: if (query !== undefined) {
clearTimeout(searchDebounceTimer);
searchDebounceTimer = setTimeout(() => {
if (loaded) {
init();
}
init();
}, 300);
}
@@ -58,7 +56,7 @@
clearTimeout(searchDebounceTimer);
});
$: if (loaded && viewOption !== undefined) {
$: if (viewOption !== undefined) {
init();
}
@@ -77,6 +75,8 @@
};
const init = async () => {
if (!loaded) return;
reset();
await getItemsPage();
};

View File

@@ -85,6 +85,8 @@
}
const getModelList = async () => {
if (!loaded) return;
try {
const res = await getWorkspaceModels(
localStorage.token,