mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 01:54:40 +08:00
fix(composer): Attachment check ignores uploads. Fixes #1190
This commit is contained in:
parent
6a14d5b561
commit
11429727f9
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…
Reference in a new issue