MM-13379 Make deleted comments indented (#2437)

This commit is contained in:
Elias Nahum 2018-12-07 12:27:44 -03:00
parent 9bf14c8053
commit 852227684b
No known key found for this signature in database
GPG key ID: E038DB71E0B61702

View file

@ -188,7 +188,7 @@ export default class Post extends PureComponent {
isReplyPost = () => {
const {renderReplies, post} = this.props;
return Boolean(renderReplies && post.root_id && !isPostEphemeral(post));
return Boolean(renderReplies && post.root_id && (!isPostEphemeral(post) || post.state === Posts.POST_DELETED));
};
replyBarStyle = () => {