diff --git a/frontend/src/components/Status.vue b/frontend/src/components/Status.vue index 7900763f7..92d00452d 100644 --- a/frontend/src/components/Status.vue +++ b/frontend/src/components/Status.vue @@ -1,7 +1,7 @@ - {{ pending ? '—' : $n(balance, 'decimal') }} {{ statusText }} + {{ pending || balance === null ? '—' : $n(balance, 'decimal') }} {{ statusText }} diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.vue b/frontend/src/views/Layout/DashboardLayout_gdd.vue index 5e566d3f8..000a4a08d 100755 --- a/frontend/src/views/Layout/DashboardLayout_gdd.vue +++ b/frontend/src/views/Layout/DashboardLayout_gdd.vue @@ -92,7 +92,7 @@ export default { const { data: { transactionList }, } = result - this.GdtBalance = Number(transactionList.gdtSum) + this.GdtBalance = transactionList.gdtSum === null ? null : Number(transactionList.gdtSum) this.transactions = transactionList.transactions this.balance = Number(transactionList.decay) this.bookedBalance = Number(transactionList.balance) diff --git a/frontend/src/views/Pages/UserProfileTransactionList.vue b/frontend/src/views/Pages/UserProfileTransactionList.vue index 97f0d84c1..383e908b6 100644 --- a/frontend/src/views/Pages/UserProfileTransactionList.vue +++ b/frontend/src/views/Pages/UserProfileTransactionList.vue @@ -1,7 +1,7 @@ - + {{ $t('transaction.gdd-text') }} - + {{ $t('transaction.gdt-text') }}
{{ $t('transaction.gdd-text') }}
{{ $t('transaction.gdt-text') }}