refac
This commit is contained in:
1 parent
57a5e43696
commit
e8d55c0a8b
4 files changed
+3
-5
No files matched your search
@@ -56,7 +56,7 @@
|
|||||||
clearTimeout(searchDebounceTimer);
|
clearTimeout(searchDebounceTimer);
|
||||||
});
|
});
|
||||||
|
|
||||||
$: if (viewOption !== undefined) {
|
$: if (loaded && viewOption !== undefined) {
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Immediate response to page/filter changes
|
// Immediate response to page/filter changes
|
||||||
$: if (page && selectedTag !== undefined && viewOption !== undefined) {
|
$: if (loaded && page && selectedTag !== undefined && viewOption !== undefined) {
|
||||||
getPromptList();
|
getPromptList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Immediate response to page/filter changes
|
// Immediate response to page/filter changes
|
||||||
$: if (page && viewOption !== undefined) {
|
$: if (loaded && page && viewOption !== undefined) {
|
||||||
loadSkillItems();
|
loadSkillItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -199,8 +199,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
loaded = true;
|
loaded = true;
|
||||||
// Explicit initial fetch — reactive blocks will handle subsequent changes
|
|
||||||
await getAutomationList();
|
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
clearTimeout(searchDebounceTimer);
|
clearTimeout(searchDebounceTimer);
|
||||||
|
|||||||
Reference in new issue
Block a user