Channels

@for (group of groupedChannels(); track group.type) {

{{ group.type }} {{ collapsedGroups().has(group.type) ? '▼' : '▲' }}

@if (!collapsedGroups().has(group.type)) { @for (channel of group.channels; track channel.name) {
@for (segment of getDisplayName(channel); track $index) { {{ segment.text }} } @if (channel.unreadMessages > 0) {
}
} } }