From 40537f9290e2b41453e0f496e27eaf03eca021a0 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 28 Feb 2018 14:04:32 -0800 Subject: [PATCH 1/2] add token - check for logo url before trying to use --- ui/app/add-token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', [ From cf6a2f65ab38fe84bcc8218aa9088ff4cb6e5290 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 28 Feb 2018 14:09:35 -0800 Subject: [PATCH 2/2] changelog - add entry about 'Add Token' screen fix --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index abc89f9c7..d33ddb2f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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