diff --git a/spiffworkflow-frontend/src/components/NavigationBar.tsx b/spiffworkflow-frontend/src/components/NavigationBar.tsx index 54064dc1..b9301d9f 100644 --- a/spiffworkflow-frontend/src/components/NavigationBar.tsx +++ b/spiffworkflow-frontend/src/components/NavigationBar.tsx @@ -97,6 +97,9 @@ export default function NavigationBar() { aboutLinkElement = About; } + const userEmail = UserService.getUserEmail(); + const username = UserService.getPreferredUsername(); + const profileToggletip = (
- {UserService.getPreferredUsername()} + {username}
-{UserService.getUserEmail()}
+ {username !== userEmail &&{userEmail}
}