From: Jay Sitter Date: Sun, 25 Jun 2023 22:15:59 +0000 (-0400) Subject: fix: Restore removed classes X-Git-Url: http://these/git/%22https:/nerdica.net/static/%7Burl%7D?a=commitdiff_plain;h=984de714cdf31faad7cc5dad11efb5d3eef51b4a;p=lemmy-ui.git fix: Restore removed classes --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index c84d9b9..3efd7fd 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -1131,14 +1131,11 @@ export class PostListing extends Component { {this.canMod_ && ( <> {!this.creatorIsMod_ && - (!post_view.creator_banned_from_community ? ( -
  • {this.modBanFromCommunityButton}
  • - ) : ( -
  • {this.modUnbanFromCommunityButton}
  • - ))} - {!post_view.creator_banned_from_community && ( -
  • {this.addModToCommunityButton}
  • - )} + (!post_view.creator_banned_from_community + ? this.modBanFromCommunityButton + : this.modUnbanFromCommunityButton)} + {!post_view.creator_banned_from_community && + this.addModToCommunityButton} )} @@ -1160,13 +1157,13 @@ export class PostListing extends Component { ) : ( <>