diff options
author | Wolfgang Müller | 2025-02-20 16:41:10 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-02-20 19:51:39 +0100 |
commit | 18c8719b74b1510ad82b686333071bcc10d68e30 (patch) | |
tree | 46bfc0161f70455afd409d65a2f1da9f76bfe479 /frontend/src/lib/components/Expander.svelte | |
parent | a04adadc9604d5fd5c005ec5b86431c79897792f (diff) | |
download | hircine-18c8719b74b1510ad82b686333071bcc10d68e30.tar.gz |
frontend: Remove "Exclude" expander
The following commit will introduce accelerators for each filter field,
creating the need to have all fields visible (since otherwise the
accelerators cannot be bound right away). Therefore, do away with the
"Exclude" expander and show all filters right away.
Diffstat (limited to 'frontend/src/lib/components/Expander.svelte')
-rw-r--r-- | frontend/src/lib/components/Expander.svelte | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/frontend/src/lib/components/Expander.svelte b/frontend/src/lib/components/Expander.svelte deleted file mode 100644 index 8f23042..0000000 --- a/frontend/src/lib/components/Expander.svelte +++ /dev/null @@ -1,21 +0,0 @@ -<script lang="ts"> - interface Props { - expanded: boolean; - title: string; - } - - let { expanded = $bindable(), title }: Props = $props(); - - function onclick() { - expanded = !expanded; - } -</script> - -<button class="flex items-center text-base hover:text-white" type="button" {onclick}> - {#if expanded} - <span class="icon-base icon-[material-symbols--expand-less]"></span> - {:else} - <span class="icon-base icon-[material-symbols--expand-more]"></span> - {/if} - {title} -</button> |