mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 03:23:40 +00:00
rename
This commit is contained in:
@@ -11,7 +11,7 @@ interface AvatarProps {
|
||||
shadow?: boolean;
|
||||
}
|
||||
|
||||
function getCredentials(name: string, loginName: string) {
|
||||
function getInitials(name: string, loginName: string) {
|
||||
let credentials = "";
|
||||
if (name) {
|
||||
const split = name.split(" ");
|
||||
@@ -47,7 +47,7 @@ export function Avatar({
|
||||
shadow,
|
||||
}: AvatarProps) {
|
||||
const { resolvedTheme } = useTheme();
|
||||
const credentials = getCredentials(name ?? loginName, loginName);
|
||||
const credentials = getInitials(name ?? loginName, loginName);
|
||||
|
||||
const color: ColorShade = getColorHash(loginName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user