bug fixes

This commit is contained in:
Moriz Wahl 2021-09-14 17:42:57 +02:00
parent 4f5ca22363
commit 8af43bd788
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@
export default {
name: 'PaginationButtons',
props: {
totalRows: { type: Number, required: true },
totalRows: { required: true },
perPage: { type: Number, required: true },
value: { type: Number, required: true },
},

View File

@ -84,6 +84,7 @@
</div>
</div>
<pagination-buttons
v-if="showPagination"
v-model="currentPage"
:per-page="pageSize"
:total-rows="transactionCount"
@ -130,6 +131,7 @@ export default {
firstPage: this.currentPage,
items: this.pageSize,
})
window.scrollTo(0, 0)
},
getProperties(givenType) {
const type = iconsByType[givenType]