Change to 'last_message.unread'
This commit is contained in:
parent
6538db17e7
commit
3da075dd0c
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, onClick }) => {
|
|||
timestamp={chat.last_message.created_at}
|
||||
align='right'
|
||||
size='xs'
|
||||
theme={chat.unread ? 'default' : 'muted'}
|
||||
theme={chat.last_message.unread ? 'default' : 'muted'}
|
||||
truncate
|
||||
/>
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue