diff --git a/ts/components/avatar/AvatarPlaceHolder/AvatarPlaceHolder.tsx b/ts/components/avatar/AvatarPlaceHolder/AvatarPlaceHolder.tsx index a5760249b..644647eef 100644 --- a/ts/components/avatar/AvatarPlaceHolder/AvatarPlaceHolder.tsx +++ b/ts/components/avatar/AvatarPlaceHolder/AvatarPlaceHolder.tsx @@ -99,7 +99,7 @@ export const AvatarPlaceHolder = (props: Props) => { let initials = getInitials(name)?.toLocaleUpperCase() || '0'; if (name.indexOf(' ') === -1) { - initials = name.substring(0, 2); + initials = name.substring(0, 2).toLocaleUpperCase(); } const fontSize = Math.floor(initials.length > 1 ? diameter * 0.4 : diameter * 0.5);