This commit is contained in:
Chris Chen
2026-06-23 20:36:18 -07:00
parent 4225b49e58
commit 4276ca890b
6 changed files with 108 additions and 0 deletions
@@ -81,6 +81,10 @@ export class UserHeaderComponent implements OnInit, OnDestroy {
}
public getDisplayName(): string {
const member = this.currentUser?.memberInfo;
if (member) {
return `${member.nickName ?? member.firstName_en} ${member.lastName_en}`;
}
return this.currentUser?.email || '';
}
@@ -330,6 +330,10 @@ export class UserPortalComponent implements OnInit, OnDestroy {
}
getDisplayName(): string {
const member = this.currentUser?.memberInfo;
if (member) {
return `${member.nickName ?? member.firstName_en} ${member.lastName_en}`;
}
return this.currentUser?.email || '';
}
}