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.$emit('toggle-show-list', false)
|
||||||
this.row_check = false
|
this.row_check = false
|
||||||
this.row_thx = true
|
this.row_thx = true
|
||||||
this.$emit('update-transctions', { ammount: Number(this.ajaxCreateData.amount) })
|
this.$emit('update-balance', { ammount: Number(this.ajaxCreateData.amount) })
|
||||||
} else {
|
} else {
|
||||||
alert('error')
|
alert('error')
|
||||||
this.$emit('toggle-show-list', true)
|
this.$emit('toggle-show-list', true)
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<gdd-send
|
<gdd-send
|
||||||
:balance="balance"
|
:balance="balance"
|
||||||
:show-transaction-list="showTransactionList"
|
:show-transaction-list="showTransactionList"
|
||||||
@update-transctions="updateTransactions"
|
@update-balance="updateBalance"
|
||||||
@toggle-show-list="toggleShowList"
|
@toggle-show-list="toggleShowList"
|
||||||
/>
|
/>
|
||||||
<hr />
|
<hr />
|
||||||
@ -44,7 +44,7 @@ export default {
|
|||||||
toggleShowList(bool) {
|
toggleShowList(bool) {
|
||||||
this.showTransactionList = bool
|
this.showTransactionList = bool
|
||||||
},
|
},
|
||||||
updateTransactions(data) {
|
updateBalance(data) {
|
||||||
this.$emit('update-balance', data.ammount)
|
this.$emit('update-balance', data.ammount)
|
||||||
},
|
},
|
||||||
setTransactions(transactions) {
|
setTransactions(transactions) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user