update labels
This commit is contained in:
parent
7e3b4805b7
commit
92bda3e52f
@ -36,7 +36,7 @@
|
||||
"staking": "Staking",
|
||||
"governance": "Governance",
|
||||
"summary": "Summary",
|
||||
"blocks": "Blocks / Txs",
|
||||
"blocks": "Blocks / Transactions",
|
||||
"blockchains": "Blockchains",
|
||||
"uptime": "Uptime",
|
||||
"statesync": "State Sync",
|
||||
|
@ -320,10 +320,7 @@ export default {
|
||||
return `${(val / 1000).toFixed()}k`
|
||||
}
|
||||
if (val > 1) {
|
||||
return parseFloat(val.toFixed(2)).toString()
|
||||
}
|
||||
if (val > 0.001) {
|
||||
return parseFloat(val.toFixed(4)).toString()
|
||||
return parseFloat(val.toFixed(3)).toString()
|
||||
}
|
||||
return parseFloat(val.toFixed(6)).toString()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user