From ac7a4031a809bac9ba958319ad678ea70df8618a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 19 Jan 2020 16:47:54 -0500 Subject: Hide next paginator. - Fixes #441 - Hide post sort radio if no comments. --- ui/src/components/post.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/src/components/post.tsx') diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx index d4869386..c4bfccee 100644 --- a/ui/src/components/post.tsx +++ b/ui/src/components/post.tsx @@ -178,7 +178,7 @@ export class Post extends Component { postId={this.state.post.id} disabled={this.state.post.locked} /> - {this.sortRadios()} + {this.state.comments.length > 0 && this.sortRadios()} {this.commentsTree()}
-- cgit v1.2.3