Fix type-error in dashboard

This commit is contained in:
Matthias 2021-09-01 06:35:59 +02:00
parent 76eff0dc4b
commit 0ce64a17ea

View File

@ -47,7 +47,9 @@
</b-card>
<b-card header="Total Balance">
<b-card-text
>{{ formatPrice(balance.total, botState.stake_currency_decimals || 8) }}
>{{
formatPrice(balance.total, botState ? botState.stake_currency_decimals || 8 : 8)
}}
{{ dailyStats.stake_currency }}</b-card-text
>
</b-card>