From 0ce64a17ea2842ae9b1f5ac6f80d39e2e500705e Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 1 Sep 2021 06:35:59 +0200 Subject: [PATCH] Fix type-error in dashboard --- src/views/Dashboard.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 3c6ddcd8..2b4a5ca9 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -47,7 +47,9 @@ {{ formatPrice(balance.total, botState.stake_currency_decimals || 8) }} + >{{ + formatPrice(balance.total, botState ? botState.stake_currency_decimals || 8 : 8) + }} {{ dailyStats.stake_currency }}