1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Merge pull request #3359 from MetaMask/token-check-url

[new-ui] add token - check for logo url before trying to use
This commit is contained in:
kumavis 2018-02-28 14:55:42 -08:00 committed by GitHub
commit 46d94a241c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## Current Master
- Fix "Add Token" screen referencing missing token logo urls
## 4.1.0 2018-2-27
- Report failed txs to Sentry with more specific message

View File

@ -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', [