AvatarPopup: Show profile name if we have it
This commit is contained in:
parent
5a79ed1c60
commit
7ef5dc6401
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ export const AvatarPopup = (props: Props) => {
|
|||
<div className="module-avatar-popup__profile">
|
||||
<Avatar {...props} size={52} />
|
||||
<div className="module-avatar-popup__profile__text">
|
||||
<div className="module-avatar-popup__profile__name">{title}</div>
|
||||
<div className="module-avatar-popup__profile__name">
|
||||
{profileName || title}
|
||||
</div>
|
||||
{shouldShowNumber ? (
|
||||
<div className="module-avatar-popup__profile__number">
|
||||
{phoneNumber}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue