From 4bc5ba9e50e9ee50b28e2cb0bd5996c578b1d851 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Fri, 27 Nov 2015 17:03:09 -0500 Subject: [PATCH] Fixed getCommentCount --- web/react/stores/post_store.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx index 24b0d0dd0a..1525e40487 100644 --- a/web/react/stores/post_store.jsx +++ b/web/react/stores/post_store.jsx @@ -554,7 +554,7 @@ class PostStoreClass extends EventEmitter { return 0; } getCommentCount(post) { - const posts = this.getPosts(post.channel_id).posts; + const posts = this.getAllPosts(post.channel_id).posts; let commentCount = 0; for (const id in posts) {