diff --git a/web/src/lib/components/alias-filter-select.svelte b/web/src/lib/components/alias-filter-select.svelte index 960134b..4de2926 100644 --- a/web/src/lib/components/alias-filter-select.svelte +++ b/web/src/lib/components/alias-filter-select.svelte @@ -15,7 +15,6 @@ $effect(() => { if (!value) value = "all"; - if (value !== "all" && !availableAliases.includes(value)) value = "all"; }); diff --git a/web/src/lib/components/ui/select/select.svelte b/web/src/lib/components/ui/select/select.svelte index 5eba66b..05eb663 100644 --- a/web/src/lib/components/ui/select/select.svelte +++ b/web/src/lib/components/ui/select/select.svelte @@ -4,19 +4,8 @@ let { open = $bindable(false), value = $bindable(), - onValueChange, ...restProps - }: SelectPrimitive.RootProps & { - onValueChange?: (next: string | string[]) => void; - } = $props(); + }: SelectPrimitive.RootProps = $props(); - { - value = next as typeof value; - onValueChange?.(next as string | string[]); - }} - {...restProps} -/> +