diff --git a/lemmy-translations b/lemmy-translations index a1fff8b4..007e5368 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit a1fff8b481f4b02327e4ee04088606af627628f2 +Subproject commit 007e53683768aeba63e9e4c179c1d240217bcee2 diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index d2dee1e8..83477864 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -283,13 +283,15 @@ export class CommentNode extends Component { )} {this.linkBtn(true)} - - { - this.props.allLanguages.find( - lang => lang.id === cv.comment.language_id - )?.name - } - + {cv.comment.language_id != 0 && ( + + { + this.props.allLanguages.find( + lang => lang.id === cv.comment.language_id + )?.name + } + + )} {/* This is an expanding spacer for mobile */}
{showScores() && ( diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index fd9b883e..916c8c93 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -344,13 +344,15 @@ export class PostListing extends Component { )} - - { - this.props.allLanguages.find( - lang => lang.id === post_view.post.language_id - )?.name - } - + {post_view.post.language_id != 0 && ( + + { + this.props.allLanguages.find( + lang => lang.id === post_view.post.language_id + )?.name + } + + )}
  • {url && !(hostname(url) === getExternalHost()) && ( <>