From 7e1b85d0236d13a2671fcc964cbf44b8e5aee740 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 17 Nov 2022 14:44:34 +0100 Subject: [PATCH] Bugfix: Contact.display() returns `[object Object]` --- dev/Model/Contact.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Model/Contact.js b/dev/Model/Contact.js index 9da333509..5b19fdcf2 100644 --- a/dev/Model/Contact.js +++ b/dev/Model/Contact.js @@ -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; }