Commit 9b3b1a26 authored by Matthew Taylor's avatar Matthew Taylor

render load more even if messages not there

This handles #1546 by still checking about whether to display the loadMore button even if messages are not present (i.e. if a subfilter has no messages present).
parent 4fa3c0f7
...@@ -196,9 +196,9 @@ var SocialMessagesList = React.createClass({ ...@@ -196,9 +196,9 @@ var SocialMessagesList = React.createClass({
</div>, </div>,
<ul className="messages-social-list" key="messages-social-list"> <ul className="messages-social-list" key="messages-social-list">
{this.renderSocialMessages(this.props.messages, (this.props.numNewMessages - 1))} {this.renderSocialMessages(this.props.messages, (this.props.numNewMessages - 1))}
</ul>, </ul>
this.renderLoadMore(this.props.loadMore)
] : []} ] : []}
{this.renderLoadMore(this.props.loadMore)}
</section> </section>
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment