Web:Client:Accounts: fix empty displayName

This commit is contained in:
TimofeyBoyko 2022-10-13 18:13:19 +05:00
parent b8d16a3751
commit b5b96054c9
2 changed files with 6 additions and 2 deletions

View File

@ -72,7 +72,7 @@ const UserContent = ({
isTextOverflow={true}
noHover
>
{statusType === "pending" ? email : displayName}
{statusType === "pending" ? email : displayName ? displayName : email}
</Link>
<Badges statusType={statusType} isPaid={!isVisitor} />

View File

@ -341,7 +341,11 @@ const PeopleTableRow = (props) => {
className="table-cell_username"
noHover
>
{statusType === "pending" ? email : displayName}
{statusType === "pending"
? email
: displayName
? displayName
: email}
</Link>
<Badges statusType={statusType} isPaid={!isVisitor} />
</TableCell>