got rid of extra divider when access object isn't there
This commit is contained in:
parent
9cab2b88c7
commit
ecd7f08510
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ export default function UserMenu() {
|
|||
</MenuItem>
|
||||
</Tooltip>
|
||||
)}
|
||||
<Divider />
|
||||
{(hasAdmin || user.allowedTo("access-object")) && <Divider /> }
|
||||
<MenuItem onClick={handleLogout} aria-label="Sign Out" dense>
|
||||
<ListItemIcon>
|
||||
<ExitToApp className={classes.red} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue