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:
Peter Zimon 2024-09-09 15:56:29 +02:00 committed by GitHub
parent 1dc2a3bcfd
commit 5be65b7e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -183,7 +183,7 @@ const InvitesUserList: React.FC<InviteListProps> = ({users}) => {
<ListItem
key={user.id}
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]'
detail={user.role}
hideActions={true}