fix(bodies): Message with empty string body showed loading forever

This commit is contained in:
Ben Gotow 2016-03-10 16:13:17 -08:00
parent a24f67398e
commit 21e19cab50

View file

@ -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">