mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Contact add Note and improved changes check
This commit is contained in:
parent
f451af2188
commit
9dcdd7e41c
40 changed files with 61 additions and 125 deletions
|
|
@ -250,7 +250,7 @@ export class ContactModel extends AbstractModel {
|
|||
|
||||
hasChanges()
|
||||
{
|
||||
return this.toJSON().jCard != JSON.stringify(this.jCard);
|
||||
return this.email().filter(v => v.length).length && this.toJSON().jCard != JSON.stringify(this.jCard);
|
||||
}
|
||||
|
||||
toJSON()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue