fix: Transaction Pagination Scroll Top

This commit is contained in:
Moriz Wahl 2021-07-08 09:43:24 +02:00
parent fd228a3942
commit 4f3a6fa7b8

View File

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