Skip to content

Commit

Permalink
[FIX] Administration User page blank opening users without email (#17836
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dudizilla authored Jun 5, 2020
1 parent 2abe15d commit e01297c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/admin/users/UsersTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function UsersTable() {
{mediaQuery && <Table.Cell>
<Box fontScale='p2' style={style} color='hint'>{ username }</Box> <Box mi='x4'/>
</Table.Cell>}
<Table.Cell style={style}>{emails && emails[0].address}</Table.Cell>
<Table.Cell style={style}>{emails && emails.length && emails[0].address}</Table.Cell>
{mediaQuery && <Table.Cell style={style}>{roles && roles.join(', ')}</Table.Cell>}
<Table.Cell fontScale='p1' color='hint' style={style}>{status}</Table.Cell>
</Table.Row>;
Expand Down

0 comments on commit e01297c

Please sign in to comment.