Ensure correct address used when rendering transfer transactions.

feature/default_network_editable
Dan 7 years ago
parent 21b6a3442d
commit 01e3293b65
  1. 3
      ui/app/components/tx-list-item.js

@ -71,7 +71,8 @@ TxListItem.prototype.getAddressText = function () {
let addressText
if (txDataName === 'transfer' || address) {
addressText = `${value.slice(0, 10)}...${value.slice(-4)}`
const addressToRender = txDataName === 'transfer' ? value : address
addressText = `${addressToRender.slice(0, 10)}...${addressToRender.slice(-4)}`
} else if (isMsg) {
addressText = this.props.t('sigRequest')
} else {

Loading…
Cancel
Save