@if (filteredUsers.length > 0 && inputValue != '') {

{{ "search-bar-header.user" | translate }}:

@for (user of filteredUsers; track user) {
@if (user.status === true) { } @else { }

}
} @if (filteredChannels.length > 0 && inputValue != '') {

{{ "search-bar-header.channels" | translate }}:

@for (channel of filteredChannels; track channel) {

#

}
} @if (filteredChats.length > 0 && inputValue != '') {

{{ "search-bar-header.thread" | translate }}:

@for (chat of filteredChats; track chat) {

[ {{ getChannel(chat.channelId) }} ]

}
} @if ((filteredUsers.length === 0 && inputValue != '') && (filteredChannels.length === 0 && inputValue != '') && (filteredChats.length === 0 && inputValue != '')) {

{{ "search-bar.errorMessage" | translate }}

}