Text 'No decay' replaced by the number 0.00

This commit is contained in:
ogerly 2021-10-19 12:10:20 +02:00
parent dfd4ebf155
commit 87d141ae86

View File

@ -1,12 +1,7 @@
<template> <template>
<div class="decayinformation"> <div class="decayinformation">
<span v-if="decaytyp === 'short'"> <span v-if="decaytyp === 'short'">
<span v-if="decay.balance > 0"> {{ decay ? ' - ' + $n(decay.balance, 'decimal') + ' ' + decayStartBlockTextShort : '' }}
{{ decay ? ' -' + $n(decay.balance, 'decimal') + ' ' + decayStartBlockTextShort : '' }}
</span>
<span v-else>
{{ $t('decay.noDecay') }}
</span>
</span> </span>
<div v-if="decaytyp === 'new'"> <div v-if="decaytyp === 'new'">
@ -58,7 +53,6 @@
</b-col> </b-col>
</b-row> </b-row>
<div v-if="decay.balance > 0">
<!-- Decay--> <!-- Decay-->
<b-row> <b-row>
<b-col cols="6" class="text-right"> <b-col cols="6" class="text-right">
@ -113,7 +107,6 @@
</b-row> </b-row>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {