File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
launcher/src/components/UI/the-control Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 <div class =" title" >{{ $t("balWid.fin") }} EPOCH</div >
1010 </div >
1111 <div class =" balance-box" >
12- <div class =" balance-value" :style =" { color: balance < 0 ? '#EC590A' : '#74fa65' }" >{{ balance }} GWei</div >
12+ <div class =" balance-value" :style =" { color: balance < 0 ? '#EC590A' : '#74fa65' }" >{{ fmtBalance }} GWei</div >
1313 <div class =" title" >{{ $t("balWid.bal") }}</div >
1414 </div >
1515 </div >
@@ -29,6 +29,7 @@ export default {
2929 return {
3030 finalized_epoch: " Loading.." ,
3131 balance: 0 ,
32+ fmtBalance: 0 ,
3233 finEPOCH: this .$t (" controlPage.finEPOCH" ),
3334 };
3435 },
@@ -51,7 +52,8 @@ export default {
5152 newbalancestatus .hasOwnProperty (" balance" )
5253 ) {
5354 this .finalized_epoch = newbalancestatus .finalized_epoch ;
54- this .balance = this .numberFormat (newbalancestatus .balance );
55+ this .balance = newbalancestatus .balance ;
56+ this .fmtBalance = this .numberFormat (newbalancestatus .balance );
5557 }
5658 },
5759 },
You can’t perform that action at this time.
0 commit comments