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