diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-07-12 09:49:03 -0400 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-07-12 22:49:03 +0900 |
commit | 6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f (patch) | |
tree | c30fe5aaae1c90e0f2898e2fa9555e9461641d8e /webapp/components/post_view/post_info/post_info.jsx | |
parent | dc6862079a7055269e8aa861caf0093e7be29e83 (diff) | |
download | chat-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/post_info.jsx')
-rw-r--r-- | webapp/components/post_view/post_info/post_info.jsx | 3 |
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 }; } |