diff options
author | Vitaly Takmazov | 2018-10-18 13:05:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 39b9cb5325dbca55f9b61e4e1bc58a38fe0439ce (patch) | |
tree | adcf89bb26406b600d0133e43327f34ac0ccbd12 /vnext/src/components/Contact.js | |
parent | 197244bb9fe3b4d408384bd47cc928e04d47d1b0 (diff) |
last message in pm groups
Diffstat (limited to 'vnext/src/components/Contact.js')
-rw-r--r-- | vnext/src/components/Contact.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js index 820b3e05..300b650b 100644 --- a/vnext/src/components/Contact.js +++ b/vnext/src/components/Contact.js @@ -10,7 +10,8 @@ export default class Contact extends React.Component { return ( <> <Avatar user={user} link={`/pm/${user.uname}`}> - { user.unreadCount && <span className="badge">{user.unreadCount}</span>} + {user.unreadCount && <span className="badge">{user.unreadCount}</span>} + <div className="msg-ts">{user.lastMessageText}</div> </Avatar> </> ); |