mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 15:26:14 +08:00
Resolve #716
This commit is contained in:
parent
aa842dbc83
commit
e27e014b81
1 changed files with 2 additions and 2 deletions
|
@ -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});
|
||||
|
|
Loading…
Reference in a new issue