Can filter couples
This commit is contained in:
@ -115,6 +115,14 @@ export class Member implements MemberDataApi {
|
||||
: `${firstName} ${this.last_name ?? ""}`;
|
||||
}
|
||||
|
||||
get invertedFullName(): string {
|
||||
const lastName = this.last_name ?? "";
|
||||
|
||||
return lastName.length === 0
|
||||
? this.last_name ?? ""
|
||||
: `${lastName} ${this.first_name ?? ""}`;
|
||||
}
|
||||
|
||||
get hasPhoto(): boolean {
|
||||
return this.photo_id !== null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user