diff --git a/react/src/components/dashboard/walletsData/walletsData.render.js b/react/src/components/dashboard/walletsData/walletsData.render.js index 5a336b1..ce0cbad 100644 --- a/react/src/components/dashboard/walletsData/walletsData.render.js +++ b/react/src/components/dashboard/walletsData/walletsData.render.js @@ -152,6 +152,12 @@ export const TxTypeRender = function(category) { { translate('DASHBOARD.UNKNOWN') } ); + } else if (category === 'self') { + return ( + + self + + ); } }; @@ -171,7 +177,7 @@ export const TxAmountRender = function(tx) { return ( - { formatValue(tx.amount) * _amountNegative || translate('DASHBOARD.UNKNOWN') } + { Math.abs(tx.interest) !== Math.abs(tx.amount) ? (formatValue(tx.amount) * _amountNegative || translate('DASHBOARD.UNKNOWN')) : '' } { tx.interest && - { tx.amount * _amountNegative || translate('DASHBOARD.UNKNOWN') } + { Math.abs(tx.interest) !== Math.abs(tx.amount) ? (tx.amount * _amountNegative || translate('DASHBOARD.UNKNOWN')) : '' } { tx.interest && { this.state.txDetails && - this.props.ActiveCoin.coin !== 'CHIPS' && explorerList[this.props.ActiveCoin.coin] &&