From: Dessalines Date: Fri, 6 Mar 2020 16:51:25 +0000 (-0500) Subject: Adding post listing separators. Hiding full score unless downvotes. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/static/%7Bpost.url%7D?a=commitdiff_plain;h=4e5d7b6e842bb419f1d286c08d8583c1a89f5a4a;p=lemmy.git Adding post listing separators. Hiding full score unless downvotes. --- diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index bfa58a73..2d09e90e 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -463,27 +463,34 @@ export class PostListing extends Component { )} +
  • •
  • -
  • - - - - - {this.state.upvotes} - -
  • -
  • - - - - - {this.state.downvotes} - -
  • +
  • •
  • + {this.state.upvotes !== this.state.score && ( + <> +
  • + + + + + {this.state.upvotes} + +
  • +
  • + + + + + {this.state.downvotes} + +
  • +
  • •
  • + + )}