summaryrefslogtreecommitdiffstats
path: root/web/react/components/create_comment.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-13 12:20:33 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-11-18 08:50:49 -0500
commita4267471a57c95dd99e17ee5e9fcc95892970764 (patch)
tree0db5c19e03609cbce3f70e20c7fe45a10f640d18 /web/react/components/create_comment.jsx
parent7b01528d17c61a762ded17a23ccd9a2a728910a0 (diff)
downloadchat-a4267471a57c95dd99e17ee5e9fcc95892970764.tar.gz
chat-a4267471a57c95dd99e17ee5e9fcc95892970764.tar.bz2
chat-a4267471a57c95dd99e17ee5e9fcc95892970764.zip
Converted DeletePostModal to React-Bootstrap
Diffstat (limited to 'web/react/components/create_comment.jsx')
-rw-r--r--web/react/components/create_comment.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx
index 058594165..22a659ed5 100644
--- a/web/react/components/create_comment.jsx
+++ b/web/react/components/create_comment.jsx
@@ -194,7 +194,8 @@ export default class CreateComment extends React.Component {
title: 'Comment',
message: lastPost.message,
postId: lastPost.id,
- channelId: lastPost.channel_id
+ channelId: lastPost.channel_id,
+ comments: PostStore.getCommentCount(lastPost)
});
}
}