Merge pull request #615 from gradido/scroll-top-transaction-list

fix: Transaction Pagination Scroll Top
This commit is contained in:
Moriz Wahl 2021-07-08 13:15:22 +02:00 committed by GitHub
commit 57621262ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,10 +149,12 @@ export default {
showNext() {
this.currentPage++
this.updateTransactions()
window.scrollTo(0, 0)
},
showPrevious() {
this.currentPage--
this.updateTransactions()
window.scrollTo(0, 0)
},
},
}