Browse Source

Merge pull request #1333 from doccano/fix/1306

Update pagination
pull/1369/head v1.3.1
Hiroki Nakayama 3 years ago
committed by GitHub
parent
commit
a3f7d21fbf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. 6
      frontend/components/tasks/toolbar/buttons/ButtonPagination.vue

6
frontend/components/tasks/toolbar/buttons/ButtonPagination.vue

@ -113,9 +113,15 @@ export default Vue.extend({
this.$emit('click:jump', page)
},
prevPage() {
if (this.value === 1) {
return
}
this.$emit('click:prev')
},
nextPage() {
if (this.value === this.total) {
return
}
this.$emit('click:next')
},
firstPage() {

Loading…
Cancel
Save