diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-11-27 17:03:09 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-11-27 17:03:09 -0500 |
commit | 4bc5ba9e50e9ee50b28e2cb0bd5996c578b1d851 (patch) | |
tree | d4d52425f783f0ea1e125a569139c09ad982baac /web | |
parent | 42a001c4e26acaebb7bade2a9b45428578b04164 (diff) | |
download | chat-4bc5ba9e50e9ee50b28e2cb0bd5996c578b1d851.tar.gz chat-4bc5ba9e50e9ee50b28e2cb0bd5996c578b1d851.tar.bz2 chat-4bc5ba9e50e9ee50b28e2cb0bd5996c578b1d851.zip |
Fixed getCommentCount
Diffstat (limited to 'web')
-rw-r--r-- | web/react/stores/post_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx index 24b0d0dd0..1525e4048 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) { |