Commit 3891ad16 authored by Matija Obreza's avatar Matija Obreza
Browse files

Close "User" menu on click

parent 3018cab4
......@@ -106,6 +106,7 @@ class UserMenuComponent extends React.Component<IUserMenuComponentProps, any> {
anchorEl={ this.state.anchorEl }
open={ this.state.open }
onClose={ this.handleRequestClose }
onClick={ this.handleRequestClose }
>
<Link to="/dashboard"><MenuItem>{ t('menu.My Dashboard') }</MenuItem></Link>
<Link to="/profile"><MenuItem>{ t('menu.My profile') }</MenuItem></Link>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment