Skip to content

Commit

Permalink
Switch UserMenu to show username, not name
Browse files Browse the repository at this point in the history
Gafaelfawr only guarantees that username is available, so relying on
name isn't do-able.
  • Loading branch information
jonathansick committed Apr 30, 2021
1 parent 54a1976 commit be34425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/userMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const UserMenu = ({ loginData, pageUrl }) => {
return (
<Menu>
<StyledMenuButton>
{loginData.data.name} <StyledFontAwesomeIcon icon="angle-down" />
{loginData.data.username} <StyledFontAwesomeIcon icon="angle-down" />
</StyledMenuButton>
<StyledMenuList>
<MenuLink href="/auth/tokens">Security tokens</MenuLink>
Expand Down

0 comments on commit be34425

Please sign in to comment.