From 8b7e87b86c90e944f7786ab638c4730cc9b45df6 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 26 Apr 2021 14:08:03 +0900 Subject: [PATCH] Update pagination, fix #1306 --- .../components/tasks/toolbar/buttons/ButtonPagination.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/components/tasks/toolbar/buttons/ButtonPagination.vue b/frontend/components/tasks/toolbar/buttons/ButtonPagination.vue index 4bfcc44d..0080ca75 100644 --- a/frontend/components/tasks/toolbar/buttons/ButtonPagination.vue +++ b/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() {