cleanup: use context api for select menus and options
This commit is contained in:
1 parent
ee08787afc
commit
dd9abe5345
20 files changed
+271
-336
No files matched your search
@@ -226,10 +226,10 @@
|
||||
afterNavigate(() => {
|
||||
// open = false
|
||||
})
|
||||
run(() => {
|
||||
$effect(() => {
|
||||
if (open) search = ''
|
||||
})
|
||||
run(() => {
|
||||
$effect(() => {
|
||||
groups = getGroups(
|
||||
$resumables,
|
||||
$profile,
|
||||
@@ -241,7 +241,7 @@
|
||||
let flattenedActions = $derived(
|
||||
filteredGroups.flatMap((group) => group.actions),
|
||||
)
|
||||
run(() => {
|
||||
$effect(() => {
|
||||
debouncedSearch(search)
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user