mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
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).
This commit is contained in:
parent
4fa3c0f761
commit
9b3b1a2623
1 changed files with 2 additions and 2 deletions
|
@ -196,9 +196,9 @@ var SocialMessagesList = React.createClass({
|
|||
</div>,
|
||||
<ul className="messages-social-list" key="messages-social-list">
|
||||
{this.renderSocialMessages(this.props.messages, (this.props.numNewMessages - 1))}
|
||||
</ul>,
|
||||
this.renderLoadMore(this.props.loadMore)
|
||||
</ul>
|
||||
] : []}
|
||||
{this.renderLoadMore(this.props.loadMore)}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue