mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
Fixed missing initials on staff invites' avatars (#20948)
DES-775 - Initials were missing on avatars in the invite list of Settings/Staff
This commit is contained in:
parent
1dc2a3bcfd
commit
5be65b7e21
@ -183,7 +183,7 @@ const InvitesUserList: React.FC<InviteListProps> = ({users}) => {
|
|||||||
<ListItem
|
<ListItem
|
||||||
key={user.id}
|
key={user.id}
|
||||||
action={<UserInviteActions invite={user} />}
|
action={<UserInviteActions invite={user} />}
|
||||||
avatar={(<Avatar bgColor={generateAvatarColor((user.email))} image={''} label={''} labelColor='white' />)}
|
avatar={(<Avatar bgColor={generateAvatarColor((user.email))} image={''} label={user.email.charAt(0).toUpperCase()} labelColor='white' />)}
|
||||||
className='min-h-[64px]'
|
className='min-h-[64px]'
|
||||||
detail={user.role}
|
detail={user.role}
|
||||||
hideActions={true}
|
hideActions={true}
|
||||||
|
Loading…
Reference in New Issue
Block a user