Merge branch 'master' into 1389-TransactionsTabs-are-not-well-designed

This commit is contained in:
Alexander Friedland 2022-02-07 12:29:46 +01:00 committed by GitHub
commit 53c1a4f808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -97,6 +97,12 @@ export default {
onReset() {
this.currentTransactionStep = 0
},
updateTransactions(pagination) {
this.$emit('update-transactions', pagination)
},
},
created() {
this.updateTransactions(0)
},
}
</script>

View File

@ -34,6 +34,14 @@ export default {
balance: { type: Number, default: 0 },
transactionCount: { type: Number, default: 0 },
},
methods: {
updateTransactions(pagination) {
this.$emit('update-transactions', pagination)
},
},
created() {
this.updateTransactions(0)
},
}
</script>
<style>