mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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
|
## Current Master
|
||||||
|
|
||||||
|
- Fix "Add Token" screen referencing missing token logo urls
|
||||||
|
|
||||||
## 4.1.0 2018-2-27
|
## 4.1.0 2018-2-27
|
||||||
|
|
||||||
- Report failed txs to Sentry with more specific message
|
- Report failed txs to Sentry with more specific message
|
||||||
|
@ -240,7 +240,7 @@ AddTokenScreen.prototype.renderTokenList = function () {
|
|||||||
}, [
|
}, [
|
||||||
h('div.add-token__token-icon', {
|
h('div.add-token__token-icon', {
|
||||||
style: {
|
style: {
|
||||||
backgroundImage: `url(images/contract/${logo})`,
|
backgroundImage: logo && `url(images/contract/${logo})`,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
h('div.add-token__token-data', [
|
h('div.add-token__token-data', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user