Co-authored-by: Zirius <walterka1mihalik@gmail.com>

Co-authored-by: kintxi850@gmail.com <kintxi850@gmail.com>
This commit is contained in:
srgooglo 2020-04-05 01:48:48 +02:00
parent 3ff2dd5689
commit 4601515f0c
2 changed files with 21 additions and 0 deletions

View File

@ -123,6 +123,14 @@ class UserProfile extends React.PureComponent {
} }
render() { render() {
const moreMenu = (
<antd.Menu>
<antd.Menu.Item>1st antd.Menu item</antd.Menu.Item>
<antd.Menu.Item>2nd antd.Menu item</antd.Menu.Item>
</antd.Menu>
);
const { loading, UUID, invalid, RenderValue } = this.state const { loading, UUID, invalid, RenderValue } = this.state
return ( return (
<div> <div>
@ -185,6 +193,13 @@ class UserProfile extends React.PureComponent {
/> />
) : null} ) : null}
</antd.Tooltip> </antd.Tooltip>
{ ycore.IsThisUser.same(UUID)?
<antd.Dropdown overlay={moreMenu}>
<Icons.MoreOutlined className={styles.user_more_menu} />
</antd.Dropdown>
: null }
</h1> </h1>
<span <span
style={{ style={{

View File

@ -121,6 +121,11 @@
} }
} }
.user_more_menu{
float: right;
font-size: 18px;
}
@media screen and (max-width: @screen-md) { @media screen and (max-width: @screen-md) {
.extraContent { .extraContent {
@ -158,3 +163,4 @@
} }
} }
} }