mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(bodies): Message with empty string body showed loading forever
This commit is contained in:
parent
a24f67398e
commit
21e19cab50
|
@ -51,7 +51,7 @@ class MessageItemBody extends React.Component
|
|||
</span>
|
||||
|
||||
_renderBody: =>
|
||||
if _.isString(@props.message.body) and @state.processedBody
|
||||
if _.isString(@props.message.body) and _.isString(@state.processedBody)
|
||||
<EmailFrame showQuotedText={@state.showQuotedText} content={@state.processedBody}/>
|
||||
else if @state.error
|
||||
<div className="message-body-error">
|
||||
|
|
Loading…
Reference in a new issue