diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-28 13:55:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 13:55:44 +0800 |
commit | 42ff763674f72d11602048642a74651d89128193 (patch) | |
tree | fe76102102c875ee6eaaee8cb57829899936c519 /ui/app/components | |
parent | deee689426f0b6236093128b47be81faf56d6b75 (diff) | |
parent | e711a4193f34b532c78526d68a32baff93eb061d (diff) | |
download | tangerine-wallet-browser-42ff763674f72d11602048642a74651d89128193.tar.gz tangerine-wallet-browser-42ff763674f72d11602048642a74651d89128193.tar.zst tangerine-wallet-browser-42ff763674f72d11602048642a74651d89128193.zip |
Merge pull request #2201 from chikeichan/merge
Merge master into NewUI-flat
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/fiat-value.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/fiat-value.js b/ui/app/components/fiat-value.js index 665789353..56465fc9d 100644 --- a/ui/app/components/fiat-value.js +++ b/ui/app/components/fiat-value.js @@ -13,6 +13,7 @@ function FiatValue () { FiatValue.prototype.render = function () { const props = this.props const { conversionRate, currentCurrency, style } = props + const renderedCurrency = currentCurrency || '' const value = formatBalance(props.value, 6) @@ -28,7 +29,7 @@ FiatValue.prototype.render = function () { fiatTooltipNumber = 'Unknown' } - return fiatDisplay(fiatDisplayNumber, currentCurrency, style) + return fiatDisplay(fiatDisplayNumber, renderedCurrency.toUpperCase(), style) } function fiatDisplay (fiatDisplayNumber, fiatSuffix, styleOveride = {}) { |