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 9
9
<div class =" title" >{{ $t("balWid.fin") }} EPOCH</div >
10
10
</div >
11
11
<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 >
13
13
<div class =" title" >{{ $t("balWid.bal") }}</div >
14
14
</div >
15
15
</div >
@@ -29,6 +29,7 @@ export default {
29
29
return {
30
30
finalized_epoch: " Loading.." ,
31
31
balance: 0 ,
32
+ fmtBalance: 0 ,
32
33
finEPOCH: this .$t (" controlPage.finEPOCH" ),
33
34
};
34
35
},
@@ -51,7 +52,8 @@ export default {
51
52
newbalancestatus .hasOwnProperty (" balance" )
52
53
) {
53
54
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 );
55
57
}
56
58
},
57
59
},
You can’t perform that action at this time.
0 commit comments