diff options
Fix eth balance tooltip to show 6 decimals (#440)
* Fix tooltip to show to the 6 decimal place on balances ovr 0...
* Change font size for balance component in tx-list so it fits the notation
* Add to change log
* Linting
* change log
Diffstat (limited to 'ui/app/components/eth-balance.js')
-rw-r--r-- | ui/app/components/eth-balance.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/eth-balance.js b/ui/app/components/eth-balance.js index 5f99a3e48..612ef7779 100644 --- a/ui/app/components/eth-balance.js +++ b/ui/app/components/eth-balance.js @@ -15,7 +15,7 @@ EthBalanceComponent.prototype.render = function () { var state = this.props var style = state.style - const value = formatBalance(state.value) + const value = formatBalance(state.value, 6) var width = state.width return ( @@ -35,7 +35,7 @@ EthBalanceComponent.prototype.render = function () { } EthBalanceComponent.prototype.renderBalance = function (value, state) { if (value === 'None') return value - var balanceObj = generateBalanceObject(value, 1) + var balanceObj = generateBalanceObject(value, state.shorten ? 1 : 3) var balance if (state.shorten) { |