Don't show placeholder when loading discussions

This commit is contained in:
Toby Zerner 2015-09-04 13:50:17 +09:30
parent e14fe8bc03
commit 3ec6e94c62

View File

@ -54,7 +54,7 @@ export default class DiscussionList extends Component {
});
}
if (this.discussions.length == 0) {
if (this.discussions.length === 0 && !this.loading) {
const text = 'Looks like there are no discussions here. Why don\'t you create a new one?';
return (
<div className="DiscussionList">