Minor improvements of simple family tree
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-28 09:52:18 +02:00
parent 173303de27
commit 209cfe8965
2 changed files with 16 additions and 5 deletions

View File

@ -170,6 +170,13 @@ export class Member implements MemberDataApi {
return birthDeath.join(" - ");
}
get displayBirthDeathShort(): string {
let birthDeath = [];
if (this.birth_year) birthDeath.push(this.birth_year.toString());
if (this.death_year) birthDeath.push(this.death_year.toString());
return birthDeath.join(" - ");
}
get hasContactInfo(): boolean {
return this.email ||
this.phone ||