From 53baacf05ad49f98f20d0bd9aef9ccb3c48c8520 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Sat, 3 Jan 2026 13:52:11 +0300 Subject: [PATCH] feature(CheckboxFilter): move filter counter badge --- .../ui/CheckboxFilter/CheckboxFilter.svelte | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte b/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte index ce4f748..87a8025 100644 --- a/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte +++ b/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte @@ -84,6 +84,16 @@ const hasSelection = $derived(selectedCount > 0); >

{displayedLabel}

+ + {#if hasSelection} + + {selectedCount} + + {/if} +
0); >
- - {#if hasSelection} - - {selectedCount} - - {/if}