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) {