mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Resolve #716
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -139,7 +139,7 @@ export class ContactModel extends AbstractModel {
|
||||
*/
|
||||
getNameAndEmailHelper() {
|
||||
let name = (this.givenName() + ' ' + this.surName()).trim(),
|
||||
email = this.email()[0];
|
||||
email = this.email()[0]?.value();
|
||||
/*
|
||||
// this.jCard.getOne('fn')?.notEmpty() ||
|
||||
this.jCard.parseFullName({set:true});
|
||||
|
||||
Reference in New Issue
Block a user