Skip to content

Commit

Permalink
Merge branch 'develop' into feature/display-image-instead-of-a-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Oct 13, 2023
2 parents e9c9cab + fc0f3bf commit 5d02043
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions apps/sensenet/src/components/appbar/desktop-nav-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,22 @@ export const DesktopNavMenu: FunctionComponent = () => {
style: {
overflow: 'hidden',
textOverflow: 'ellipsis',
marginLeft: '30px',
marginLeft: '20px',
color: theme.palette.type === 'light' ? globals.light.textColor : globals.dark.textColor,
},
title: currentUser.DisplayName || currentUser.Name,
title: `Full-name: ${currentUser.DisplayName}` || currentUser.Name,
}}
secondaryTypographyProps={{
style: {
overflow: 'hidden',
textOverflow: 'ellipsis',
marginLeft: '20px',
color: theme.palette.type === 'light' ? globals.light.textColor : globals.dark.textColor,
},
title: `Login-name: ${currentUser.LoginName}` || currentUser.Name,
}}
primary={`${currentUser.DisplayName || currentUser.Name}`}
secondary={`${currentUser.LoginName || currentUser.Name}`}
/>
</MenuItem>
<MenuItem className={classes.userMenuItem}>
Expand Down

0 comments on commit 5d02043

Please sign in to comment.