From bf4f63df9ff46ecefb1a1a64638b9a1d12208fee Mon Sep 17 00:00:00 2001 From: Thiago Saife Rodrigues Date: Thu, 7 Jul 2022 17:00:35 -0300 Subject: [PATCH] fix(int-457): fixing value - Value passed from previous and next events are fixed --- src/components/Pagination/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Pagination/index.js b/src/components/Pagination/index.js index 8c9cd812..f029b86b 100644 --- a/src/components/Pagination/index.js +++ b/src/components/Pagination/index.js @@ -90,13 +90,13 @@ const SbPagination = { handlePreviousPage() { if (!this.isFirstDisabled) { this.updateValue(this.value - 1) - this.$emit('on-previous-page', this.value) + this.$emit('on-previous-page', this.value - 1) } }, handleNextPage() { if (!this.isLastDisabled) { this.updateValue(this.value + 1) - this.$emit('on-next-page', this.value) + this.$emit('on-next-page', this.value + 1) } }, onPageChange(page) {