@for ( groups of groupedChannels() | keyvalue: groupsComparator; track $index ) { @if (groups.value.length > 0) { {{ groups.key || ('CHANNELS.UNGROUPED' | translate) | titlecase }} ({{ groups.value.length }}) @let enrichedGroupChannels = getEnrichedGroupChannels(groups.value, groups.key); @let limit = getGroupLimit(groups.key);
@for ( channel of enrichedGroupChannels.slice( 0, limit ); track trackByFn($index, channel); let i = $index ) { } @if (groups.value.length > limit) {
sync {{ 'CHANNELS.LOADING_MORE' | translate }}
}
} }