diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-19 16:47:54 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-19 16:47:54 -0500 |
commit | ac7a4031a809bac9ba958319ad678ea70df8618a (patch) | |
tree | f9cacf1123838132e316322034fb51c1665d7db8 /ui/src/components/post.tsx | |
parent | 96c1fceb99f99fbda2464664171ee899e48e03c4 (diff) |
Hide next paginator.
- Fixes #441
- Hide post sort radio if no comments.
Diffstat (limited to 'ui/src/components/post.tsx')
-rw-r--r-- | ui/src/components/post.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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<any, PostState> { postId={this.state.post.id} disabled={this.state.post.locked} /> - {this.sortRadios()} + {this.state.comments.length > 0 && this.sortRadios()} {this.commentsTree()} </div> <div class="col-12 col-sm-12 col-md-4"> |