aboutsummaryrefslogtreecommitdiff
path: root/src/lib/components/StatusBadge.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/components/StatusBadge.svelte')
-rw-r--r--src/lib/components/StatusBadge.svelte11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/components/StatusBadge.svelte b/src/lib/components/StatusBadge.svelte
index 3747270..4c149d2 100644
--- a/src/lib/components/StatusBadge.svelte
+++ b/src/lib/components/StatusBadge.svelte
@@ -20,7 +20,13 @@
);
const icon = $derived(
- status === 'ok' ? '✓' : status === 'due' ? '◷' : status === 'late' ? '!' : '‼',
+ status === 'ok'
+ ? '✓'
+ : status === 'due'
+ ? '◷'
+ : status === 'late'
+ ? '!'
+ : '‼',
);
const label = $derived(
@@ -30,4 +36,5 @@
);
</script>
-<span class={className} role="img" aria-label={label} title={label}>{icon}</span>
+<span class={className} role="img" aria-label={label} title={label}>{icon}</span
+>