diff --git a/src/app/pages/category/subcategories.component.html b/src/app/pages/category/subcategories.component.html index 0800d93..4d5d632 100644 --- a/src/app/pages/category/subcategories.component.html +++ b/src/app/pages/category/subcategories.component.html @@ -24,25 +24,35 @@ @for (sub of nestedSubcategories(); track trackBySubId($index, sub)) { @if (getSubcategoryRouteId(sub) !== null) { - } else { -
- } -
- @if (sub.img) { - - } @else { -
{{ sub.name.charAt(0) }}
- } -
-
-

{{ sub.name }}

- @if (sub.itemCount) { - {{ sub.itemCount }} - } -
- @if (getSubcategoryRouteId(sub) !== null) { +
+ @if (sub.img) { + + } @else { +
{{ sub.name.charAt(0) }}
+ } +
+
+

{{ sub.name }}

+ @if (sub.itemCount) { + {{ sub.itemCount }} + } +
} else { +
+
+ @if (sub.img) { + + } @else { +
{{ sub.name.charAt(0) }}
+ } +
+
+

{{ sub.name }}

+ @if (sub.itemCount) { + {{ sub.itemCount }} + } +
} }