diff --git a/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.html b/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.html index 031337fdf..27f176e85 100644 --- a/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.html +++ b/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.html @@ -1,55 +1,56 @@ -@if (showFilter) { -
- -
- Filter Mode - -
- -
- - @for (filterType of filterTypes; track filterType; let i = $index) { - - - - {{ filterLabels[filterType] || (filterType | titlecase) }} - @if (activeFilters[filterType]?.length) { - - ({{ activeFilters[filterType].length }}) - - } - - - - - @if (filterStreams[filterType] | async; as filters) { -
- @for (filter of filters; track filter) { -
- - {{ filter.value.name || filter.value }} -
- } -
- } -
-
- } -
-
+
+
+ Filter Mode +
-} + + +
+ + @for (filterType of filterTypes; track filterType; let i = $index) { + + + + {{ filterLabels[filterType] || (filterType | titlecase) }} + @if (activeFilters[filterType]?.length) { + + ({{ activeFilters[filterType].length }}) + + } + + + + + @if (filterStreams[filterType] | async; as filters) { + +
+ @for (filter of filters; track filter) { +
+ + {{ filter.value.name || filter.value }} +
+ } +
+ } +
+
+ } +
+
+