change minus operator and unused propertys

This commit is contained in:
ogerly 2022-03-07 15:46:41 +01:00
parent 7c37c345a1
commit 6f0421df08
3 changed files with 3 additions and 9 deletions

View File

@ -57,7 +57,7 @@
</b-col>
<b-col cols="6">
<div v-if="typeId === 'SEND'">
<b> {{ $n(Number(amount) + Number(decay.decay) * -1, 'decimal') }}</b>
<b> {{ $n((Number(amount) + Number(decay.decay)) * -1, 'decimal') }}</b>
</div>
<div v-if="typeId === 'RECEIVE'">
<b>{{ $n(Number(amount) + Number(decay.decay), 'decimal') }}</b>

View File

@ -78,7 +78,7 @@
</b-col>
<b-col cols="6">
<div v-if="typeId === 'SEND'">
<b> {{ $n(Number(amount) + Number(decay.decay) * -1, 'decimal') }}</b>
<b> {{ $n((Number(amount) + Number(decay.decay)) * -1, 'decimal') }}</b>
</div>
<div v-if="typeId === 'RECEIVE'">
<b>{{ $n(Number(amount) + Number(decay.decay), 'decimal') }}</b>

View File

@ -31,7 +31,7 @@
</b-col>
<b-col cols="7">
<div class="gdd-transaction-list-item-name">
{{ linkedUser.firstName + ' ' + linkedUser.lastName }}
{{ $t('decay.decay_since_last_transaction') }}
</div>
</b-col>
</b-row>
@ -69,12 +69,6 @@ export default {
id: {
type: Number,
},
linkedUser: {
type: Object,
},
memo: {
type: String,
},
typeId: {
type: String,
},