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 />}
|
icon={<UserOutlined />}
|
||||||
style={{ marginRight: 5 }}
|
style={{ marginRight: 5 }}
|
||||||
/>{' '}
|
/>{' '}
|
||||||
{initialState.currentUser.nickname}
|
{ initialState.currentUser.nickname || initialState.currentUser.email }
|
||||||
</span>
|
</span>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user