aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-18 13:05:47 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit39b9cb5325dbca55f9b61e4e1bc58a38fe0439ce (patch)
treeadcf89bb26406b600d0133e43327f34ac0ccbd12
parent197244bb9fe3b4d408384bd47cc928e04d47d1b0 (diff)
last message in pm groups
-rw-r--r--vnext/src/components/Contact.js3
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>
</>
);