From 07c43b800fae7d769dd5e60e25c73b1a24e0b05b Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 10 Feb 2022 20:58:16 +0100 Subject: [PATCH] show decay info for decay from last transaction --- frontend/src/components/DecayInformation.vue | 16 ++++++++-------- .../Pages/AccountOverview/GddTransactionList.vue | 16 ++++++++++++++++ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/DecayInformation.vue b/frontend/src/components/DecayInformation.vue index 28af9b2b4..dd3fc225e 100644 --- a/frontend/src/components/DecayInformation.vue +++ b/frontend/src/components/DecayInformation.vue @@ -4,7 +4,7 @@ {{ decay ? ' - ' + $n(decay.balance, 'decimal') + ' ' + decayStartBlockTextShort : '' }} -
+
@@ -12,7 +12,7 @@
- +
{{ $t('decay.last_transaction') }}
@@ -32,7 +32,7 @@
- +
{{ $t('decay.past_time') }}
@@ -54,7 +54,7 @@
- +
{{ $t('decay.decay') }}
@@ -63,13 +63,13 @@

- + {{ $t('decay.calculation_total') }} - +
{{ $t('decay.sent') }}
{{ $t('decay.received') }}
@@ -80,7 +80,7 @@
- +
{{ $t('decay.decay') }}
@@ -89,7 +89,7 @@
- +
{{ $t('decay.total') }}
diff --git a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue index ea20539fe..e92dc9636 100644 --- a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue +++ b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue @@ -21,6 +21,9 @@ name, memo, firstTransaction, + decayDuration, + decayEnd, + decayStart, } in transactions" :key="transactionId" :style="type === 'decay' ? 'background-color:#f1e0ae3d' : ''" @@ -142,6 +145,19 @@ > {{ $t('decay.befor_startblock_transaction') }}
+
+ +