mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
rename method to update balance
This commit is contained in:
parent
cd9d25aa12
commit
a24b231547
@ -261,7 +261,7 @@ export default {
|
||||
this.$emit('toggle-show-list', false)
|
||||
this.row_check = false
|
||||
this.row_thx = true
|
||||
this.$emit('update-transctions', { ammount: Number(this.ajaxCreateData.amount) })
|
||||
this.$emit('update-balance', { ammount: Number(this.ajaxCreateData.amount) })
|
||||
} else {
|
||||
alert('error')
|
||||
this.$emit('toggle-show-list', true)
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<gdd-send
|
||||
:balance="balance"
|
||||
:show-transaction-list="showTransactionList"
|
||||
@update-transctions="updateTransactions"
|
||||
@update-balance="updateBalance"
|
||||
@toggle-show-list="toggleShowList"
|
||||
/>
|
||||
<hr />
|
||||
@ -44,7 +44,7 @@ export default {
|
||||
toggleShowList(bool) {
|
||||
this.showTransactionList = bool
|
||||
},
|
||||
updateTransactions(data) {
|
||||
updateBalance(data) {
|
||||
this.$emit('update-balance', data.ammount)
|
||||
},
|
||||
setTransactions(transactions) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user