Fix avatar from name to support lowercase

This commit is contained in:
ayumi-signal
2023-09-28 16:31:58 -04:00
committed by GitHub
parent e3750ef471
commit 72d1695612
5 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export function getInitials(name?: string): string | undefined {
return parsedName;
}
const parts = parsedName.toUpperCase().split(' ');
const parts = parsedName.split(' ');
const partsLen = parts.length;
return partsLen === 1