mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
temp(composer): Do not allow user to switch accounts if files have been attached to draft
This commit is contained in:
parent
78a02ad52c
commit
7c09e77305
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…
Add table
Reference in a new issue