summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r--webapp/components/post_view/components/post_body.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_body.jsx b/webapp/components/post_view/components/post_body.jsx
index c23939c1f..5db3e74ce 100644
--- a/webapp/components/post_view/components/post_body.jsx
+++ b/webapp/components/post_view/components/post_body.jsx
@@ -141,7 +141,7 @@ export default class PostBody extends React.Component {
}
let fileAttachmentHolder = null;
- if ((post.file_ids && post.file_ids.length > 0) || (post.filenames && post.filenames.length > 0)) {
+ if (((post.file_ids && post.file_ids.length > 0) || (post.filenames && post.filenames.length > 0)) && this.props.post.state !== Constants.POST_DELETED) {
fileAttachmentHolder = (
<FileAttachmentListContainer
post={post}