summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/post_info
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-07-12 09:49:03 -0400
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-12 22:49:03 +0900
commit6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f (patch)
treec30fe5aaae1c90e0f2898e2fa9555e9461641d8e /webapp/components/post_view/post_info
parentdc6862079a7055269e8aa861caf0093e7be29e83 (diff)
downloadchat-6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f.tar.gz
chat-6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f.tar.bz2
chat-6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f.zip
Fix posting when allow edit after time set (#6913)
Diffstat (limited to 'webapp/components/post_view/post_info')
-rw-r--r--webapp/components/post_view/post_info/post_info.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/post_view/post_info/post_info.jsx b/webapp/components/post_view/post_info/post_info.jsx
index d64d1aca6..6eaef0e0b 100644
--- a/webapp/components/post_view/post_info/post_info.jsx
+++ b/webapp/components/post_view/post_info/post_info.jsx
@@ -81,8 +81,7 @@ export default class PostInfo extends React.PureComponent {
this.state = {
showEmojiPicker: false,
- reactionPickerOffset: 21,
- canEdit: PostUtils.canEditPost(props.post, this.editDisableAction)
+ reactionPickerOffset: 21
};
}