@if (drawerComponent === 'new-chat') { } @if (drawerComponent === 'profile') { } @if (chats && chats.length > 0) {
@if (profile.avatar) { Profile avatar } @if (!profile.avatar) {
{{ profile.name.charAt(0) }}
}
{{ profile.name }}
} @else {
No chats
} @if (chats && chats.length > 0) {
}