From 95b49709c71da5c31703dc6f6f74f19c240f80ab Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 1 Apr 2022 12:41:16 +0200 Subject: [PATCH] fix-disbled-button-if-totalBalance --- .../src/components/GddSend/TransactionConfirmationLink.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/GddSend/TransactionConfirmationLink.vue b/frontend/src/components/GddSend/TransactionConfirmationLink.vue index 8e6856e00..78903deda 100644 --- a/frontend/src/components/GddSend/TransactionConfirmationLink.vue +++ b/frontend/src/components/GddSend/TransactionConfirmationLink.vue @@ -28,7 +28,7 @@ {{ $t('gdd_per_link.decay-14-day') }} - {{ $t('math.aprox') }} {{ (amount * 0.028 * -1) | GDD }} + {{ $t('math.aprox') }} {{ (amount * -0.028) | GDD }} @@ -64,7 +64,7 @@ export default { return this.balance - this.amount * 1.028 }, disabled() { - if (this.TotalBalance < 0) { + if (this.totalBalance < 0) { return true } return this.loading