diff options
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/account-eth-balance.js | 2 | ||||
-rw-r--r-- | ui/app/reducers/metamask.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/account-eth-balance.js b/ui/app/components/account-eth-balance.js index bcef40096..6cdb33b73 100644 --- a/ui/app/components/account-eth-balance.js +++ b/ui/app/components/account-eth-balance.js @@ -52,7 +52,7 @@ EthBalanceComponent.prototype.renderBalance = function (value, state) { var ethSuffix = splitBalance[1] - if (state.conversionRate !== 'N/A') { + if (state.conversionRate !== 0) { fiatNumber = (Number(splitBalance[0]) * state.conversionRate).toFixed(2) } else { fiatNumber = 'N/A' diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index 7af805f06..7f18480cb 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -16,7 +16,7 @@ function reduceMetamask (state, action) { identities: {}, unconfTxs: {}, currentFiat: 'USD', - conversionRate: 'N/A', + conversionRate: 0, conversionDate: 'N/A', }, state.metamask) |