refac
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
clearTimeout(searchDebounceTimer);
|
||||
});
|
||||
|
||||
$: if (viewOption !== undefined) {
|
||||
$: if (loaded && viewOption !== undefined) {
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
};
|
||||
|
||||
// Immediate response to page/filter changes
|
||||
$: if (page && selectedTag !== undefined && viewOption !== undefined) {
|
||||
$: if (loaded && page && selectedTag !== undefined && viewOption !== undefined) {
|
||||
getPromptList();
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
};
|
||||
|
||||
// Immediate response to page/filter changes
|
||||
$: if (page && viewOption !== undefined) {
|
||||
$: if (loaded && page && viewOption !== undefined) {
|
||||
loadSkillItems();
|
||||
}
|
||||
|
||||
|
||||
@@ -199,8 +199,6 @@
|
||||
}
|
||||
|
||||
loaded = true;
|
||||
// Explicit initial fetch — reactive blocks will handle subsequent changes
|
||||
await getAutomationList();
|
||||
|
||||
return () => {
|
||||
clearTimeout(searchDebounceTimer);
|
||||
|
||||
Reference in New Issue
Block a user