mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-16 17:44:39 +08:00
fix(composer): Attachment check ignores uploads. Fixes #1190
This commit is contained in:
parent
7a8e10af0d
commit
001ccfff43
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ class ComposerView extends React.Component
|
|||
|
||||
bodyIsEmpty = draft.body is @_proxy.draftPristineBody()
|
||||
forwarded = Utils.isForwardedMessage(draft)
|
||||
hasAttachment = (draft.files ? []).length > 0
|
||||
hasAttachment = (draft.files ? []).length > 0 or (draft.uploads ? []).length > 0
|
||||
|
||||
warnings = []
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue