From eaf1ff331bf9df2b07ee50a500168db75fda7f38 Mon Sep 17 00:00:00 2001 From: Milad Raeisi Date: Thu, 26 Sep 2024 22:18:46 +0400 Subject: [PATCH] Update chats.component.html --- .../chat/chats/chats.component.html | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/app/components/chat/chats/chats.component.html b/src/app/components/chat/chats/chats.component.html index 9048fc7..af8e298 100644 --- a/src/app/components/chat/chats/chats.component.html +++ b/src/app/components/chat/chats/chats.component.html @@ -25,20 +25,20 @@
- @if (profile.picture) { - Profile picture } - @if (!profile.picture) { + @if (!profile?.picture) {
- {{ profile.name.charAt(0) }} + {{ profile?.name?.charAt(0) }}
}
- {{ profile.name }} + {{ profile?.name }}
@@ -146,8 +147,8 @@
-
- {{ chat.lastMessageAt | ago}} +
+ {{ chat.lastMessageAt | ago }}
@if (chat.muted) {