From 06705366ad3e8e494cf5fafc56b078d5d36f8d31 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 17 Mar 2022 16:44:06 +0100 Subject: [PATCH] change decay Object to String --- .../DecayInformations/DecayInformation-Decay.vue | 8 +++++--- .../DecayInformations/DecayInformation-Short.vue | 4 ++-- .../src/components/TransactionLinks/TransactionLink.vue | 6 +++--- frontend/src/components/TransactionRows/DecayRow.vue | 2 +- .../src/components/Transactions/TransactionCreation.vue | 2 +- frontend/src/components/Transactions/TransactionDecay.vue | 2 +- .../components/Transactions/TransactionLinksSummary.vue | 2 +- .../src/components/Transactions/TransactionReceive.vue | 2 +- frontend/src/components/Transactions/TransactionSend.vue | 2 +- 9 files changed, 16 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/DecayInformations/DecayInformation-Decay.vue b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue index 7377b6fa8..6abacd2b8 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-Decay.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue @@ -13,8 +13,8 @@
- {{ (Number(balance) - Number(decay.decay)) | GDD }} - {{ decay.decay | GDD }} {{ $t('math.equal') }} + {{ (Number(balance) - Number(decay)) | GDD }} + {{ decay | GDD }} {{ $t('math.equal') }} {{ balance | GDD }}
@@ -27,9 +27,11 @@ export default { props: { balance: { type: String, + required: true, }, decay: { - type: Object, + type: String, + required: true, }, }, } diff --git a/frontend/src/components/DecayInformations/DecayInformation-Short.vue b/frontend/src/components/DecayInformations/DecayInformation-Short.vue index 333a38216..ba1f16d72 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-Short.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-Short.vue @@ -1,6 +1,6 @@