mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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: () => {
|
display: () => {
|
||||||
let a = this.fullName(),
|
let a = this.fullName(),
|
||||||
b = this.email()?.[0]?.value(),
|
b = this.email()[0]?.value(),
|
||||||
c = this.nickname();
|
c = this.nickname();
|
||||||
return a || b || c;
|
return a || b || c;
|
||||||
}
|
}
|
||||||
|
|
@ -139,7 +139,7 @@ export class ContactModel extends AbstractModel {
|
||||||
*/
|
*/
|
||||||
getNameAndEmailHelper() {
|
getNameAndEmailHelper() {
|
||||||
let name = (this.givenName() + ' ' + this.surName()).trim(),
|
let name = (this.givenName() + ' ' + this.surName()).trim(),
|
||||||
email = this.email()[0];
|
email = this.email()[0]?.value();
|
||||||
/*
|
/*
|
||||||
// this.jCard.getOne('fn')?.notEmpty() ||
|
// this.jCard.getOne('fn')?.notEmpty() ||
|
||||||
this.jCard.parseFullName({set:true});
|
this.jCard.parseFullName({set:true});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue