remove redundant label from auth panel

This commit is contained in:
Rick Watson 2019-05-31 20:12:04 +01:00
parent 0708a54780
commit d5efbe4b18

View File

@ -189,7 +189,7 @@ class MenuAppBar extends React.Component {
<AccountCircleIcon />
</Avatar>
</ListItemAvatar>
<ListItemText primary={"Signed in as: " + authenticationContext.jwt.username} secondary={ authenticationContext.jwt.admin ? "Admin User" : "Standard User"} />
<ListItemText primary={"Signed in as: " + authenticationContext.jwt.username} secondary={ authenticationContext.jwt.admin ? "Admin User" : undefined} />
</ListItem>
</List>
</CardContent>