mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 01:21:14 +08:00
Fix bug on invalid recipient
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
59cb1b1dbb
commit
b39ac92724
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…
Reference in a new issue