Display member tiles recursively
This commit is contained in:
@ -112,7 +112,7 @@ export class Member implements MemberDataApi {
|
||||
|
||||
return firstName.length === 0
|
||||
? this.last_name ?? ""
|
||||
: `${firstName} ${this.last_name ?? ""}`;
|
||||
: `${firstName} ${this.last_name?.toUpperCase() ?? ""}`;
|
||||
}
|
||||
|
||||
get invertedFullName(): string {
|
||||
@ -159,6 +159,13 @@ export class Member implements MemberDataApi {
|
||||
};
|
||||
}
|
||||
|
||||
get displayBirthDeath(): string {
|
||||
let birthDeath = [];
|
||||
if (this.dateOfBirth) birthDeath.push(fmtDate(this.dateOfBirth));
|
||||
if (this.dateOfDeath) birthDeath.push(fmtDate(this.dateOfDeath));
|
||||
return birthDeath.join(" - ");
|
||||
}
|
||||
|
||||
get hasContactInfo(): boolean {
|
||||
return this.email ||
|
||||
this.phone ||
|
||||
|
Reference in New Issue
Block a user