diff --git a/react/src/components/dashboard/walletsBalance/walletsBalance.js b/react/src/components/dashboard/walletsBalance/walletsBalance.js index aa26db4..3d9052a 100755 --- a/react/src/components/dashboard/walletsBalance/walletsBalance.js +++ b/react/src/components/dashboard/walletsBalance/walletsBalance.js @@ -131,19 +131,13 @@ class WalletsBalance extends React.Component { return (
-
{ _balance }
+
{ _balance }
{ _fiatPriceTotal > 0 && _fiatPricePerCoin > 0 &&
${ formatValue(_fiatPriceTotal) }
} - { _fiatPriceTotal > 0 && - _fiatPricePerCoin > 0 && - - }
); } else { diff --git a/react/src/components/dashboard/walletsBalance/walletsBalance.render.js b/react/src/components/dashboard/walletsBalance/walletsBalance.render.js index 9d1c14c..874dabb 100644 --- a/react/src/components/dashboard/walletsBalance/walletsBalance.render.js +++ b/react/src/components/dashboard/walletsBalance/walletsBalance.render.js @@ -38,13 +38,9 @@ const WalletsBalanceRender = function() { { this.props.ActiveCoin.coin === 'CHIPS' || this.props.ActiveCoin.mode === 'spv' ? translate('INDEX.BALANCE') : translate('INDEX.TRANSPARENT_BALANCE') } + className="pull-right padding-top-10 font-size-22"> { this.renderBalance('transparent', true) } - diff --git a/react/src/components/dashboard/walletsBalance/walletsBalance.scss b/react/src/components/dashboard/walletsBalance/walletsBalance.scss index cdf6676..4fc6764 100644 --- a/react/src/components/dashboard/walletsBalance/walletsBalance.scss +++ b/react/src/components/dashboard/walletsBalance/walletsBalance.scss @@ -18,4 +18,7 @@ font-size: 20px; padding-top: 16px !important; } + .padding-right-30 { + padding-right: 10px !important; + } } \ No newline at end of file diff --git a/react/src/components/dashboard/walletsMain/walletsMain.js b/react/src/components/dashboard/walletsMain/walletsMain.js index 0f1b119..2d52f8b 100644 --- a/react/src/components/dashboard/walletsMain/walletsMain.js +++ b/react/src/components/dashboard/walletsMain/walletsMain.js @@ -32,10 +32,12 @@ class WalletsMain extends React.Component { } componentWillMount() { - Store.dispatch(prices()); - this.pricesInterval = setInterval(() => { + if (Config.fiatRates) { Store.dispatch(prices()); - }, PRICES_UPDATE_INTERVAL); + this.pricesInterval = setInterval(() => { + Store.dispatch(prices()); + }, PRICES_UPDATE_INTERVAL); + } if (mainWindow.createSeed.triggered && !mainWindow.createSeed.secondaryLoginPH) {