decay set on TransactionConfirm

This commit is contained in:
ogerly 2021-11-30 08:32:10 +01:00
parent bf389dd5e2
commit 9566b9e127
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,6 @@
<status class="gdd-status-gdd" :pending="pending" :balance="balance" status-text="GDD" />
</b-col>
</b-row>
<br />
<gdd-send :currentTransactionStep="currentTransactionStep">
<template #transaction-form>
@ -15,7 +14,7 @@
<template #transaction-confirmation>
<transaction-confirmation
:balance="balance"
:decay="decay"
:transactions="transactions"
:email="transactionData.email"
:amount="transactionData.amount"
:memo="transactionData.memo"

View File

@ -32,6 +32,7 @@
</b-list-group>
</b-col>
</b-row>
{{transactions}}
<b-row>{{$n(balance, 'decimal')}}, {{ $n(decay, 'decimal') }}, {{ $n(amount, 'decimal') }}</b-row>
<b-row class="mt-4">
<b-col>
@ -50,11 +51,13 @@ export default {
name: 'TransactionConfirmation',
props: {
balance: { type: Number, default: 0 },
decay: { type: Number, default: 0 },
email: { type: String, default: '' },
amount: { type: Number, default: 0 },
memo: { type: String, default: '' },
loading: { type: Boolean, default: false },
transactions: {
default: () => [],
},
},
}
</script>