Skip to content

Commit b106e34

Browse files
author
Vikas Agarwal
committed
Merge branch 'hotfix/missing_first_post_673'
2 parents f7ea4c3 + 84a5cf6 commit b106e34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/projects/detail/containers/MessagesContainer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ class MessagesView extends React.Component {
101101
item.unread = !feed.read
102102
// item.html = posts[feed.postIds[0]].body
103103
item.html = feed.posts[0].body
104-
// skip over the first post since that is the topic post
105-
item.totalComments = feed.totalPosts-1
104+
// Github issue#673, Don't skip over the first post like we do in dashboard feeds
105+
// because here we show the first post as comment as well
106+
item.totalComments = feed.totalPosts
106107
item.messages = []
107108
const _toComment = (p) => {
108109
return {

0 commit comments

Comments
 (0)