Bugfix: Contact.display() returns [object Object]

This commit is contained in:
the-djmaze 2022-11-17 14:44:34 +01:00
parent bd287cb749
commit 7e1b85d023

View file

@ -119,7 +119,7 @@ export class ContactModel extends AbstractModel {
display: () => {
let a = this.fullName(),
b = this.email()?.[0]?.value,
b = this.email()?.[0]?.value(),
c = this.nickname();
return a || b || c;
}