mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Cleanup EmailModel
This commit is contained in:
parent
ceac15ace9
commit
974acaab90
2 changed files with 3 additions and 20 deletions
|
|
@ -140,7 +140,7 @@ export class ContactsPopupView extends AbstractViewPopup {
|
|||
this.contactsCheckedOrSelected().forEach(oContact => {
|
||||
const data = oContact?.getNameAndEmailHelper(),
|
||||
email = data ? new EmailModel(data[0], data[1]) : null;
|
||||
email?.validate() && aE.push(email);
|
||||
email?.valid() && aE.push(email);
|
||||
});
|
||||
|
||||
if (arrayLength(aE)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue