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