mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
temp(composer): Do not allow user to switch accounts if files have been attached to draft
This commit is contained in:
parent
a099e677e0
commit
93648dccd4
1 changed files with 1 additions and 1 deletions
|
@ -474,13 +474,13 @@ class ComposerView extends React.Component
|
|||
files: draft.files
|
||||
subject: draft.subject
|
||||
body: draft.body
|
||||
showfrom: not draft.replyToMessageId? and draft.files.length is 0
|
||||
|
||||
if !@state.populated
|
||||
_.extend state,
|
||||
showcc: not _.isEmpty(draft.cc)
|
||||
showbcc: not _.isEmpty(draft.bcc)
|
||||
showsubject: @_shouldShowSubject()
|
||||
showfrom: not draft.replyToMessageId?
|
||||
showQuotedText: @isForwardedMessage()
|
||||
populated: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue