diff --git a/frontend/src/components/GddSend/TransactionConfirmationLink.vue b/frontend/src/components/GddSend/TransactionConfirmationLink.vue index fd2e798eb..8e6856e00 100644 --- a/frontend/src/components/GddSend/TransactionConfirmationLink.vue +++ b/frontend/src/components/GddSend/TransactionConfirmationLink.vue @@ -33,9 +33,7 @@ {{ $t('form.new_balance') }} - - {{ $t('math.aprox') }} {{ (balance - amount - amount * 0.028) | GDD }} - + {{ $t('math.aprox') }} {{ totalBalance | GDD }} @@ -44,7 +42,7 @@ {{ $t('form.cancel') }} - + {{ $t('form.generate_now') }} @@ -61,6 +59,17 @@ export default { memo: { type: String, required: true }, loading: { type: Boolean, required: true }, }, + computed: { + totalBalance() { + return this.balance - this.amount * 1.028 + }, + disabled() { + if (this.TotalBalance < 0) { + return true + } + return this.loading + }, + }, }