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/%22%7Burl%7D/%24%7Bargs.pageFn.prev%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}
+ +
+ }