From: Dessalines Date: Mon, 2 Sep 2019 22:00:49 +0000 (-0700) Subject: Hiding vote bar on comment collapse X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%22https:/hacktivis.me/%7Bsrc%7D?a=commitdiff_plain;h=d99fa5268d63e0bdc9107fb16b60eabc168aff51;p=lemmy.git Hiding vote bar on comment collapse - Fixes #259 --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 8779f1f9..3eff8c79 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -65,15 +65,17 @@ export class CommentNode extends Component { let node = this.props.node; return (
-
- -
{node.comment.score}
- -
+ {!this.state.collapsed && +
+ +
{node.comment.score}
+ +
+ }