@if (_channelList) { list
{{ 'CHANNELS.ALL_CHANNELS' | translate }}
category
{{ 'CHANNELS.GROUPS' | translate }}
@for ( groups of groupedChannels | keyvalue: groupsComparator; track $index ) { @if (groups.value.length > 0) { {{ groups.key || ('CHANNELS.UNGROUPED' | translate) | titlecase }} ({{ groups.value.length }})
@for ( channel of groups.value; track trackByFn($index, channel); let i = $index ) { }
} }
@let showFavorites = (playlistId$ | async) !== 'GLOBAL_FAVORITES'; @if (showFavorites) { star
{{ 'CHANNELS.FAVORITES' | translate }}
@let favorites = favorites$ | async; @if (favorites) {
@if (favorites.length > 0) { @for ( channel of favorites; track trackByFn($index, channel); let i = $index ) { } } @else {
{{ 'CHANNELS.NO_FAVORITES' | translate }}
{{ 'CHANNELS.USE_STAR_TO_FAVORITE' | translate }}
}
}
}
} @else { No channels there }