From 87cbcd8d586ef5d9a79350761956b10da2dab907 Mon Sep 17 00:00:00 2001 From: Chukwuma Nwaugha Date: Thu, 5 Dec 2024 11:33:12 +0000 Subject: [PATCH] use a badge as visual-cue for sources count --- app/src/lib/components/ManageAudioSourceDrawer.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/lib/components/ManageAudioSourceDrawer.svelte b/app/src/lib/components/ManageAudioSourceDrawer.svelte index f6bf7d3..91a2ef5 100644 --- a/app/src/lib/components/ManageAudioSourceDrawer.svelte +++ b/app/src/lib/components/ManageAudioSourceDrawer.svelte @@ -76,7 +76,7 @@ - + + + {#if numSources || aiSource} +
+ {(numSources || 0) + (aiSource ? 1 : 0)} +
+ {/if}