mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 21:55:54 +08:00
Fix bug on invalid recipient (#2481)
Fix bug where when an invalid recipient is chosen, the validation produces an error due to a wrong return value.
This commit is contained in:
parent
d219a65e75
commit
608f1c7354
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ export class DraftEditingSession extends MailspringStore {
|
|||
}
|
||||
|
||||
if (recipientErrors.length > 0) {
|
||||
return { errors: recipientErrors, warnings: recipientWarnings };
|
||||
return { recipientErrors: recipientErrors, recipientWarnings: recipientWarnings };
|
||||
}
|
||||
|
||||
let cleaned = QuotedHTMLTransformer.removeQuotedHTML(this._draft.body.trim());
|
||||
|
|
Loading…
Add table
Reference in a new issue