decidim-comments/app/frontend/comments/comment_thread.component.tsx in decidim-0.2.0 vs decidim-comments/app/frontend/comments/comment_thread.component.tsx in decidim-0.3.0

- old
+ new

@@ -56,10 +56,14 @@ const { comment: { author, hasComments } } = this.props; if (hasComments) { return ( <h6 className="comment-thread__title"> - {I18n.t("components.comment_thread.title", { authorName: author.name })} + { + author.deleted ? + I18n.t("components.comment_thread.title", { authorName: I18n.t("components.comment.deleted_user") }) : + I18n.t("components.comment_thread.title", { authorName: author.name }) + } </h6> ); } return null;