From 6f0421df088bea114ed804a245ec3cb906ad1f98 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 7 Mar 2022 15:46:41 +0100 Subject: [PATCH] change minus operator and unused propertys --- .../DecayInformation-DecayStartblock.vue | 2 +- .../DecayInformations/DecayInformation-Long.vue | 2 +- frontend/src/components/Transactions/TransactionDecay.vue | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue index deb9eeaa5..678fc9f09 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue @@ -57,7 +57,7 @@
- − {{ $n(Number(amount) + Number(decay.decay) * -1, 'decimal') }} + − {{ $n((Number(amount) + Number(decay.decay)) * -1, 'decimal') }}
{{ $n(Number(amount) + Number(decay.decay), 'decimal') }} diff --git a/frontend/src/components/DecayInformations/DecayInformation-Long.vue b/frontend/src/components/DecayInformations/DecayInformation-Long.vue index 1fdb5ff43..ac53b77b7 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-Long.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-Long.vue @@ -78,7 +78,7 @@
- − {{ $n(Number(amount) + Number(decay.decay) * -1, 'decimal') }} + − {{ $n((Number(amount) + Number(decay.decay)) * -1, 'decimal') }}
{{ $n(Number(amount) + Number(decay.decay), 'decimal') }} diff --git a/frontend/src/components/Transactions/TransactionDecay.vue b/frontend/src/components/Transactions/TransactionDecay.vue index b05aaeb2e..ab5a0f561 100644 --- a/frontend/src/components/Transactions/TransactionDecay.vue +++ b/frontend/src/components/Transactions/TransactionDecay.vue @@ -31,7 +31,7 @@
- {{ linkedUser.firstName + ' ' + linkedUser.lastName }} + {{ $t('decay.decay_since_last_transaction') }}
@@ -69,12 +69,6 @@ export default { id: { type: Number, }, - linkedUser: { - type: Object, - }, - memo: { - type: String, - }, typeId: { type: String, },