diff --git a/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte b/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte index 50d1692..25a067d 100644 --- a/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte +++ b/src/shared/ui/CheckboxFilter/CheckboxFilter.svelte @@ -1,35 +1,24 @@ - -
+ +

{filterName}

- + +
+ +
+ {#if hasSelection} + + {selectedCount} + + {/if}
- - {#if isOpen} -
-
+ {#if isOpen} +
+
+
{#each categories as category (category.id)} -
+
+ + {/each}
- {/if} - +
+ {/if}