From e2d9d05380a540d6c2529be1589b59d0df3f2805 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Wed, 21 Feb 2018 12:47:58 +0300 Subject: [PATCH] interest tooltip fix --- .../dashboard/walletsData/walletsData.render.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/react/src/components/dashboard/walletsData/walletsData.render.js b/react/src/components/dashboard/walletsData/walletsData.render.js index ce0cbad..d6fe27c 100644 --- a/react/src/components/dashboard/walletsData/walletsData.render.js +++ b/react/src/components/dashboard/walletsData/walletsData.render.js @@ -183,9 +183,11 @@ export const TxAmountRender = function(tx) { className="tx-interest" data-tip={ `${translate('DASHBOARD.SPV_CLAIMED_INTEREST')} ${formatValue(Math.abs(tx.interest))}` }>+{ formatValue(Math.abs(tx.interest)) } } - + { tx.interest && + + } +{ Math.abs(tx.interest) } } - + { tx.interest && + + } ); };