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:
commit
46d94a241c
@ -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
|
||||
|
@ -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', [
|
||||
|
Loading…
Reference in New Issue
Block a user