From 8e9aa5f6286a15c818a47344fc80964f5288bb52 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Thu, 20 Feb 2025 15:24:42 +0100
Subject: frontend: Allow filtering for orphaned associations

With the association count filters in place we may now also allow the
user to filter for associations that do not have a matching counterparts
(artists without a comic, for example).
---
 frontend/src/lib/icons/Orphan.svelte | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 frontend/src/lib/icons/Orphan.svelte

(limited to 'frontend/src/lib/icons/Orphan.svelte')

diff --git a/frontend/src/lib/icons/Orphan.svelte b/frontend/src/lib/icons/Orphan.svelte
new file mode 100644
index 0000000..7d947d2
--- /dev/null
+++ b/frontend/src/lib/icons/Orphan.svelte
@@ -0,0 +1,15 @@
+<script lang="ts">
+	interface Props {
+		orphaned?: boolean;
+		hoverable?: boolean;
+	}
+
+	let { orphaned, hoverable = false }: Props = $props();
+</script>
+
+{#if orphaned}
+	<span class:hoverable class="icon-gray icon-base icon-[material-symbols--fmd-bad]"></span>
+{:else}
+	<span class:hoverable class="icon-gray icon-base dim icon-[material-symbols--fmd-bad-outline]"
+	></span>
+{/if}
-- 
cgit v1.2.3-2-gb3c3

