From 695df18be09a09573c7973931ce64a77b033c165 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 4 Sep 2015 13:50:17 +0930 Subject: [PATCH] Don't show placeholder when loading discussions --- js/forum/src/components/DiscussionList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/DiscussionList.js b/js/forum/src/components/DiscussionList.js index e645185be..028ad4b06 100644 --- a/js/forum/src/components/DiscussionList.js +++ b/js/forum/src/components/DiscussionList.js @@ -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 (