diff options
author | Dessalines <dessalines@users.noreply.github.com> | 2020-07-09 20:03:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 20:03:33 -0400 |
commit | 85c07e7154c82e5b387bb6a02aae70645cf1d8e0 (patch) | |
tree | 3b5a56578b8b504faf366555466422f0b14b2770 /ui/src/components/main.tsx | |
parent | d222c60cef289b57f0ce350e9f24ce2df4792ef5 (diff) |
Correctly hide next / prev in paginators. Fixes #914 (#927)
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r-- | ui/src/components/main.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 9e9027d6..9063a039 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -497,7 +497,7 @@ export class Main extends Component<any, MainState> { {i18n.t('prev')} </button> )} - {this.state.posts.length == fetchLimit && ( + {this.state.posts.length > 0 && ( <button class="btn btn-sm btn-secondary" onClick={linkEvent(this, this.nextPage)} |