@if (selectedCategory()) { @if (selectedDetailComponent(); as detailComponentRef) { } @else {

{{ selectedCategoryTitle() ?? ('PORTALS.ALL_ITEMS' | translate) }}

@let subtitle = categoryItemSubtitle(); {{ subtitle.key | translate: subtitle.params }}
@if (hasRefineControls()) {
@if (canSortContent()) { @let sortLabels = activeSortLabels();
sort {{ 'WORKSPACE.SORT_LABEL' | translate }}{{ sortLabels.labelKey | translate }}
} @if (minRating(); as rating) { }
@if (canSortContent()) {
@for ( option of sortOptions(); track option.mode ) { }
} @if (canFilterByRating()) { @if (canSortContent()) { }
@for ( threshold of ratingThresholds; track threshold ) { }
}
}
} } @else { }