diff options
author | Chris <ccbrown112@gmail.com> | 2017-08-09 13:24:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 13:24:45 -0500 |
commit | 58b2bcd90794d7584bf2aa422c16d82e4156f8a4 (patch) | |
tree | 1fa9cb17ab7ee09e55e61e46fe9c461005667d32 /webapp/components | |
parent | d780ac6e27a84fd0ac4c0eff821d7a62179b400a (diff) | |
download | chat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.tar.gz chat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.tar.bz2 chat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.zip |
reset post attachments on post prop change (#7158)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/post_view/post_body_additional_content.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/post_view/post_body_additional_content.jsx b/webapp/components/post_view/post_body_additional_content.jsx index 1d900018a..bf01374fe 100644 --- a/webapp/components/post_view/post_body_additional_content.jsx +++ b/webapp/components/post_view/post_body_additional_content.jsx @@ -78,6 +78,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent { return ( <PostAttachmentList attachments={attachments} + key={this.props.post.id} /> ); } |