From f4bdddaa786de3a52105b19f5b85bb86312a8412 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 4 Dec 2024 20:14:21 +0100 Subject: [PATCH] fix gdt pagination --- frontend/src/components/GdtTransactionList.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/GdtTransactionList.vue b/frontend/src/components/GdtTransactionList.vue index 046482753..e6b4aa506 100644 --- a/frontend/src/components/GdtTransactionList.vue +++ b/frontend/src/components/GdtTransactionList.vue @@ -29,7 +29,7 @@ @@ -61,13 +60,16 @@ export default { }, data() { return { - currentPage: this.value, + currentPage: this.modelValue, link: 'https://gradido.net/' + this.$store.state.language + '/memberships/', } }, watch: { - currentPage() { - if (this.modelValue !== this.currentPage) this.$emit('input', this.currentPage) + modelValue(newValue) { + this.currentPage = newValue + }, + currentPage(newValue) { + if (this.modelValue !== newValue) this.$emit('update:modelValue', newValue) }, }, }