mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
clean up account overview
This commit is contained in:
parent
fb4e0d849f
commit
d23ee1a6b4
@ -7,7 +7,6 @@
|
||||
<b-col class="col-11 bg-gray text-white p-3">
|
||||
<gdd-status
|
||||
class="gdd-status-gdd"
|
||||
v-if="showContext"
|
||||
:pending="pending"
|
||||
:balance="balance"
|
||||
status-text="GDD"
|
||||
@ -20,7 +19,6 @@
|
||||
<b-col class="bg-white text-gray p-3">
|
||||
<gdd-status
|
||||
class="gdd-status-gdt"
|
||||
v-if="showContext"
|
||||
:pending="pending"
|
||||
:balance="GdtBalance"
|
||||
status-text="GDT"
|
||||
@ -30,20 +28,14 @@
|
||||
</b-col>
|
||||
</b-row>
|
||||
<br />
|
||||
|
||||
<template #transaction-form>
|
||||
<transaction-form :balance="balance" @set-transaction="setTransaction"></transaction-form>
|
||||
</template>
|
||||
|
||||
<gdd-transaction-list
|
||||
v-if="showContext"
|
||||
:transactions="transactions"
|
||||
:pageSize="5"
|
||||
:timestamp="timestamp"
|
||||
:transaction-count="transactionCount"
|
||||
@update-transactions="updateTransactions"
|
||||
/>
|
||||
<gdd-transaction-list-footer v-if="showContext" :count="transactionCount" />
|
||||
<gdd-transaction-list-footer :count="transactionCount" />
|
||||
</b-container>
|
||||
</div>
|
||||
</template>
|
||||
@ -64,7 +56,6 @@ export default {
|
||||
timestamp: Date.now(),
|
||||
error: false,
|
||||
errorResult: '',
|
||||
currentTransactionStep: 0,
|
||||
loading: false,
|
||||
datacollectionGdd: null,
|
||||
datacollectionGdt: null,
|
||||
@ -82,20 +73,7 @@ export default {
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
showContext() {
|
||||
return this.currentTransactionStep === 0
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
setTransaction(data) {
|
||||
this.currentTransactionStep = 1
|
||||
},
|
||||
|
||||
onReset() {
|
||||
this.currentTransactionStep = 0
|
||||
},
|
||||
|
||||
updateTransactions(pagination) {
|
||||
this.$emit('update-transactions', pagination)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user