|
|
@ -57,7 +57,7 @@ AccountDetailsDropdown.prototype.render = function () { |
|
|
|
viewOnEtherscan, |
|
|
|
viewOnEtherscan, |
|
|
|
showRemoveAccountConfirmationModal } = this.props |
|
|
|
showRemoveAccountConfirmationModal } = this.props |
|
|
|
|
|
|
|
|
|
|
|
const { name, address } = selectedIdentity |
|
|
|
const address = selectedIdentity.address |
|
|
|
|
|
|
|
|
|
|
|
const keyring = keyrings.find((kr) => { |
|
|
|
const keyring = keyrings.find((kr) => { |
|
|
|
return kr.accounts.includes(address) |
|
|
|
return kr.accounts.includes(address) |
|
|
@ -76,7 +76,7 @@ AccountDetailsDropdown.prototype.render = function () { |
|
|
|
this.props.onClose() |
|
|
|
this.props.onClose() |
|
|
|
}, |
|
|
|
}, |
|
|
|
text: this.context.t('expandView'), |
|
|
|
text: this.context.t('expandView'), |
|
|
|
icon: h(`img`, { src: "images/expand.svg", style: { height: '15px' } }), |
|
|
|
icon: h(`img`, { src: 'images/expand.svg', style: { height: '15px' } }), |
|
|
|
}), |
|
|
|
}), |
|
|
|
h(Item, { |
|
|
|
h(Item, { |
|
|
|
onClick: (e) => { |
|
|
|
onClick: (e) => { |
|
|
@ -85,7 +85,7 @@ AccountDetailsDropdown.prototype.render = function () { |
|
|
|
this.props.onClose() |
|
|
|
this.props.onClose() |
|
|
|
}, |
|
|
|
}, |
|
|
|
text: this.context.t('accountDetails'), |
|
|
|
text: this.context.t('accountDetails'), |
|
|
|
icon: h(`img`, { src: "images/info.svg", style: { height: '15px' } }), |
|
|
|
icon: h(`img`, { src: 'images/info.svg', style: { height: '15px' } }), |
|
|
|
}), |
|
|
|
}), |
|
|
|
h(Item, { |
|
|
|
h(Item, { |
|
|
|
onClick: (e) => { |
|
|
|
onClick: (e) => { |
|
|
@ -94,7 +94,7 @@ AccountDetailsDropdown.prototype.render = function () { |
|
|
|
this.props.onClose() |
|
|
|
this.props.onClose() |
|
|
|
}, |
|
|
|
}, |
|
|
|
text: this.context.t('viewOnEtherscan'), |
|
|
|
text: this.context.t('viewOnEtherscan'), |
|
|
|
icon: h(`img`, { src: "images/open-etherscan.svg", style: { height: '15px' } }), |
|
|
|
icon: h(`img`, { src: 'images/open-etherscan.svg', style: { height: '15px' } }), |
|
|
|
}), |
|
|
|
}), |
|
|
|
isRemovable ? h(Item, { |
|
|
|
isRemovable ? h(Item, { |
|
|
|
onClick: (e) => { |
|
|
|
onClick: (e) => { |
|
|
@ -103,7 +103,7 @@ AccountDetailsDropdown.prototype.render = function () { |
|
|
|
this.props.onClose() |
|
|
|
this.props.onClose() |
|
|
|
}, |
|
|
|
}, |
|
|
|
text: this.context.t('removeAccount'), |
|
|
|
text: this.context.t('removeAccount'), |
|
|
|
icon: h(`img`, { src: "images/hide.svg", style: { height: '15px' } }), |
|
|
|
icon: h(`img`, { src: 'images/hide.svg', style: { height: '15px' } }), |
|
|
|
}):null, |
|
|
|
}) : null, |
|
|
|
]) |
|
|
|
]) |
|
|
|
} |
|
|
|
} |