diff options
author | Dan Miller <danjm.com@gmail.com> | 2019-08-06 01:57:50 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2019-08-06 01:57:50 +0800 |
commit | 1e5b678772f0089a84e389771e840195c15bbadb (patch) | |
tree | 7c293739f30fb412df3c985db9dc5835bd2c2cb0 | |
parent | 165f44d3a487adc580cc4b68580d3ac42a34bcd0 (diff) | |
download | tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar.gz tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar.bz2 tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar.lz tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar.xz tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.tar.zst tangerine-wallet-browser-1e5b678772f0089a84e389771e840195c15bbadb.zip |
Ensure showing of add contact dialog on send accounts for checksum inputs
-rw-r--r-- | ui/app/pages/send/send-content/send-content.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/pages/send/send-content/send-content.component.js b/ui/app/pages/send/send-content/send-content.component.js index c08a018da..aff675e7a 100644 --- a/ui/app/pages/send/send-content/send-content.component.js +++ b/ui/app/pages/send/send-content/send-content.component.js @@ -48,7 +48,7 @@ export default class SendContent extends Component { maybeRenderAddContact () { const { t } = this.context const { to, addressBook = [], ownedAccounts = [], showAddToAddressBookModal } = this.props - const isOwnedAccount = !!ownedAccounts.find(({ address }) => address === to) + const isOwnedAccount = !!ownedAccounts.find(({ address }) => address.toLowerCase() === to.toLowerCase()) const contact = addressBook.find(({ address }) => address === to) || {} if (isOwnedAccount || contact.name) { |