mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Revert "expose decayStartBlock to components"
This reverts commit c60518d39dfe7c786f04ca7eb191b523d2a3efd1.
This commit is contained in:
parent
5f0cb6dbfe
commit
91698c5f2a
@ -109,7 +109,6 @@
|
||||
export default {
|
||||
name: 'DecayInformation',
|
||||
props: {
|
||||
decayStartBlock: { type: Date, default: null },
|
||||
type: { type: String, default: '' },
|
||||
decay: {
|
||||
decay: '',
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
:gdt-balance="GdtBalance"
|
||||
:transactions="transactions"
|
||||
:transactionCount="transactionCount"
|
||||
:decayStartBlock="decayStartBlock"
|
||||
:pending="pending"
|
||||
@update-balance="updateBalance"
|
||||
@update-transactions="updateTransactions"
|
||||
@ -59,7 +58,6 @@ export default {
|
||||
transactions: [],
|
||||
bookedBalance: 0,
|
||||
transactionCount: 0,
|
||||
decayStartBlock: null,
|
||||
pending: true,
|
||||
visible: false,
|
||||
}
|
||||
@ -99,8 +97,7 @@ export default {
|
||||
this.transactions = transactionList.transactions
|
||||
this.balance = Number(transactionList.balance)
|
||||
this.bookedBalance = Number(transactionList.balance)
|
||||
this.transactionCount = Number(transactionList.count)
|
||||
this.decayStartBlock = new Date(transactionList.decayStartBlock)
|
||||
this.transactionCount = transactionList.count
|
||||
this.pending = false
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
:pageSize="5"
|
||||
:timestamp="timestamp"
|
||||
:transaction-count="transactionCount"
|
||||
:decayStartBlock="decayStartBlock"
|
||||
@update-transactions="updateTransactions"
|
||||
/>
|
||||
<gdd-transaction-list-footer :count="transactionCount" />
|
||||
@ -54,7 +53,6 @@ export default {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
decayStartBlock: { type: Date, default: null },
|
||||
},
|
||||
methods: {
|
||||
updateTransactions(pagination) {
|
||||
|
||||
@ -85,7 +85,7 @@
|
||||
</b-row>
|
||||
|
||||
<!-- Decay -->
|
||||
<b-row v-if="decay && !decayStartBlock">
|
||||
<b-row v-if="decay && !decay.decayStartBlock">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon
|
||||
@ -98,16 +98,11 @@
|
||||
</b-col>
|
||||
<b-col cols="7">
|
||||
<div class="gdd-transaction-list-item-decay">
|
||||
<decay-information
|
||||
v-if="decay"
|
||||
decaytyp="short"
|
||||
:decay="decay"
|
||||
:decayStartBlock="decayStartBlock"
|
||||
/>
|
||||
<decay-information v-if="decay" decaytyp="short" :decay="decay" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<b-row v-if="decay && decayStartBlock">
|
||||
<b-row v-if="decay && decay.decayStartBlock">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon
|
||||
@ -180,7 +175,6 @@ export default {
|
||||
timestamp: { type: Number, default: 0 },
|
||||
transactionCount: { type: Number, default: 0 },
|
||||
showPagination: { type: Boolean, default: false },
|
||||
decayStartBlock: { type: Date, default: null },
|
||||
},
|
||||
methods: {
|
||||
updateTransactions() {
|
||||
|
||||
@ -41,7 +41,6 @@ export default {
|
||||
default: () => [],
|
||||
},
|
||||
transactionCount: { type: Number, default: 0 },
|
||||
decayStartBlock: { type: Date, default: null },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user