mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(bodies): Message with empty string body showed loading forever
This commit is contained in:
parent
c296e2e1d4
commit
038032d68e
1 changed files with 1 additions and 1 deletions
|
@ -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