Web:Client:Accounts: fix empty displayName
This commit is contained in:
parent
b8d16a3751
commit
b5b96054c9
@ -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} />
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user