mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
step pre pull dario
This commit is contained in:
parent
355ec8618c
commit
188d809d45
@ -145,11 +145,11 @@ export default {
|
||||
}
|
||||
},
|
||||
async updateGdt() {
|
||||
// const result2 = await communityAPI.transactionsgdt(this.$store.state.sessionId)
|
||||
// console.log(' communityAPI.transactionsgdt')
|
||||
// console.log(result2)
|
||||
const result2 = await communityAPI.transactionsgdt(this.$store.state.sessionId)
|
||||
console.log(' communityAPI.transactionsgdt')
|
||||
console.log(result2)
|
||||
|
||||
this.transactionsGdt = [
|
||||
this.transactionsGdt =
|
||||
{
|
||||
state: 'success',
|
||||
gdt: [
|
||||
@ -208,9 +208,8 @@ export default {
|
||||
],
|
||||
transactionGdtExecutingCount: 4500,
|
||||
count: 4,
|
||||
},
|
||||
]
|
||||
this.transactionGdtCount = this.transactionsGdt[0].count
|
||||
}
|
||||
this.transactionGdtCount = this.transactionsGdt.count
|
||||
// console.log('transactionGdtCount', this.transactionGdtCount)
|
||||
},
|
||||
updateBalance(ammount) {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
amount2,
|
||||
factor2,
|
||||
gdt,
|
||||
} in this.transactionsGdt[0].gdt"
|
||||
} in this.transactionsGdt.gdt"
|
||||
:key="id"
|
||||
>
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
|
||||
@ -25,7 +25,7 @@ describe('UserProfileTransactionList', () => {
|
||||
})
|
||||
|
||||
it('emits update-transactions after creation', () => {
|
||||
expect(wrapper.emitted('update-transactions')).toEqual(
|
||||
expect(wrapper.emitted('update-transactions')).toEqual(
|
||||
expect.arrayContaining([expect.arrayContaining([{ firstPage: 1, items: 25 }])]),
|
||||
)
|
||||
})
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
<gdt-transaction-list
|
||||
:transactionsGdt="transactionsGdt"
|
||||
:transactionGdtCount="transactionGdtCount"
|
||||
@update-gdt="updateGdt"
|
||||
/>
|
||||
</b-tab>
|
||||
</b-tabs>
|
||||
@ -55,6 +56,9 @@ export default {
|
||||
updateTransactions(pagination) {
|
||||
this.$emit('update-transactions', pagination)
|
||||
},
|
||||
updateGdt() {
|
||||
this.$emit('update-gdt')
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user