From f8c0913ce1c566e5bc11fb5bd636166465ab0e33 Mon Sep 17 00:00:00 2001 From: daverolo <107847185+daverolo@users.noreply.github.com> Date: Tue, 6 Feb 2024 23:37:40 +0100 Subject: [PATCH] FIX: color of negative balance on macOS --- launcher/src/components/UI/the-control/TheBalance.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/launcher/src/components/UI/the-control/TheBalance.vue b/launcher/src/components/UI/the-control/TheBalance.vue index bb9379efe..b5c058c88 100755 --- a/launcher/src/components/UI/the-control/TheBalance.vue +++ b/launcher/src/components/UI/the-control/TheBalance.vue @@ -9,7 +9,7 @@
{{ $t("balWid.fin") }} EPOCH
-
{{ balance }} GWei
+
{{ fmtBalance }} GWei
{{ $t("balWid.bal") }}
@@ -29,6 +29,7 @@ export default { return { finalized_epoch: "Loading..", balance: 0, + fmtBalance: 0, finEPOCH: this.$t("controlPage.finEPOCH"), }; }, @@ -51,7 +52,8 @@ export default { newbalancestatus.hasOwnProperty("balance") ) { this.finalized_epoch = newbalancestatus.finalized_epoch; - this.balance = this.numberFormat(newbalancestatus.balance); + this.balance = newbalancestatus.balance; + this.fmtBalance = this.numberFormat(newbalancestatus.balance); } }, },