fix: show email when nickname is empty
This commit is contained in:
parent
9d67637727
commit
b761bf876e
@ -58,7 +58,7 @@ export default (props: any) => {
|
||||
icon={<UserOutlined />}
|
||||
style={{ marginRight: 5 }}
|
||||
/>{' '}
|
||||
{initialState.currentUser.nickname}
|
||||
{ initialState.currentUser.nickname || initialState.currentUser.email }
|
||||
</span>
|
||||
</Dropdown>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user