summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/components/Expander.svelte
diff options
context:
space:
mode:
authorWolfgang Müller2025-02-20 16:41:10 +0100
committerWolfgang Müller2025-02-20 19:51:39 +0100
commit18c8719b74b1510ad82b686333071bcc10d68e30 (patch)
tree46bfc0161f70455afd409d65a2f1da9f76bfe479 /frontend/src/lib/components/Expander.svelte
parenta04adadc9604d5fd5c005ec5b86431c79897792f (diff)
downloadhircine-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.svelte21
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>