Web.Components: utils: email: fixed pushing elems of arrays, if elems > 1
This commit is contained in:
parent
aa3fb95127
commit
b88de4c886
@ -183,7 +183,7 @@ export const parseAddresses = (str, options = new EmailSettings()) => {
|
||||
});
|
||||
} else {
|
||||
const checkOptionErrors = checkErrors(parsedAddress, options)
|
||||
checkOptionErrors.length && errors.push(checkOptionErrors);
|
||||
checkOptionErrors.length && errors.push(...checkOptionErrors);
|
||||
}
|
||||
|
||||
resultEmails.push(
|
||||
|
Loading…
Reference in New Issue
Block a user