summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-08-09 13:24:45 -0500
committerGitHub <noreply@github.com>2017-08-09 13:24:45 -0500
commit58b2bcd90794d7584bf2aa422c16d82e4156f8a4 (patch)
tree1fa9cb17ab7ee09e55e61e46fe9c461005667d32 /webapp
parentd780ac6e27a84fd0ac4c0eff821d7a62179b400a (diff)
downloadchat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.tar.gz
chat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.tar.bz2
chat-58b2bcd90794d7584bf2aa422c16d82e4156f8a4.zip
reset post attachments on post prop change (#7158)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/post_view/post_body_additional_content.jsx1
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}
/>
);
}