1
0
mirror of https://github.com/flarum/core.git synced 2025-05-05 23:15:22 +02:00

Don't show placeholder when loading discussions

This commit is contained in:
Toby Zerner 2015-09-04 13:50:17 +09:30
parent ece23de750
commit 695df18be0

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