diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-01 06:55:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-01 06:55:42 +0800 |
commit | 46d94a241c0f7e70c659d63c5e23c64700a3efce (patch) | |
tree | b86a7473ed4c9d407b6ef0db151c911c6c5c3e7f /ui | |
parent | 6c472b73ebdad38fed60917f089ab119a0435e7e (diff) | |
parent | cf6a2f65ab38fe84bcc8218aa9088ff4cb6e5290 (diff) | |
download | tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar.gz tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar.bz2 tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar.lz tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar.xz tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.tar.zst tangerine-wallet-browser-46d94a241c0f7e70c659d63c5e23c64700a3efce.zip |
Merge pull request #3359 from MetaMask/token-check-url
[new-ui] add token - check for logo url before trying to use
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/add-token.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/add-token.js b/ui/app/add-token.js index 3a806d34b..230ab35fe 100644 --- a/ui/app/add-token.js +++ b/ui/app/add-token.js @@ -240,7 +240,7 @@ AddTokenScreen.prototype.renderTokenList = function () { }, [ h('div.add-token__token-icon', { style: { - backgroundImage: `url(images/contract/${logo})`, + backgroundImage: logo && `url(images/contract/${logo})`, }, }), h('div.add-token__token-data', [ |