fix(app): filters toggle layout, constant spacing, one active-count helper

This commit is contained in:
bchanot committed 2026-11-16 20:39:01 +01:00
1 parent c25a994c0e
commit 7a129dc763
3 files changed
+25 -8

No files matched your search

+5
View File
@@ -44,3 +44,8 @@ export function filterSheets(
sheet.latest_round?.status === filters.roundStatus),
)
}
/** How many of the four filters are not empty. */
export function activeFilterCount(filters: SheetFilters): number {
return Object.values(filters).filter(Boolean).length
}