summaryrefslogtreecommitdiffstats
path: root/web/react/components/create_post.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-18 09:07:57 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-18 09:07:57 -0500
commit9660adb00775aba822d2d684d215c55679a456c6 (patch)
tree0db5c19e03609cbce3f70e20c7fe45a10f640d18 /web/react/components/create_post.jsx
parent7b01528d17c61a762ded17a23ccd9a2a728910a0 (diff)
parenta4267471a57c95dd99e17ee5e9fcc95892970764 (diff)
downloadchat-9660adb00775aba822d2d684d215c55679a456c6.tar.gz
chat-9660adb00775aba822d2d684d215c55679a456c6.tar.bz2
chat-9660adb00775aba822d2d684d215c55679a456c6.zip
Merge pull request #1430 from hmhealey/plt737a
PLT-737 Converted DeletePostModal to React-Bootstrap
Diffstat (limited to 'web/react/components/create_post.jsx')
-rw-r--r--web/react/components/create_post.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/create_post.jsx b/web/react/components/create_post.jsx
index 5a69c9bfb..6f25ef608 100644
--- a/web/react/components/create_post.jsx
+++ b/web/react/components/create_post.jsx
@@ -372,7 +372,8 @@ export default class CreatePost extends React.Component {
title: type,
message: lastPost.message,
postId: lastPost.id,
- channelId: lastPost.channel_id
+ channelId: lastPost.channel_id,
+ comments: PostStore.getCommentCount(lastPost)
});
}
}