From df7f3d7668dd29ff1e8e99786ec8fd6047aa523f Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 10 Feb 2022 21:27:35 +0100 Subject: [PATCH] gdd balance pass down --- frontend/src/components/DecayInformation.vue | 8 +++++++- .../views/Pages/AccountOverview/GddTransactionList.vue | 5 ++++- frontend/src/views/Pages/UserProfileTransactionList.vue | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/DecayInformation.vue b/frontend/src/components/DecayInformation.vue index dd3fc225e..0e068318c 100644 --- a/frontend/src/components/DecayInformation.vue +++ b/frontend/src/components/DecayInformation.vue @@ -59,7 +59,12 @@
{{ $t('decay.decay') }}
-
- {{ $n(decay.balance, 'decimal') }}
+
{{ $n(decay.balance, 'decimal') }}
+
+ {{ $n(decay.balance, 'decimal') }} GDD - + {{ $n(decay.balance + gddbalance, 'decimal') }} = + {{ $n(gddbalance, 'decimal') }} +

@@ -112,6 +117,7 @@ export default { name: 'DecayInformation', props: { + gddbalance: { type: Number }, balance: { type: Number }, type: { type: String, default: '' }, decay: { diff --git a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue index e92dc9636..e7972b5ce 100644 --- a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue +++ b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue @@ -1,5 +1,6 @@