aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/icon-factory.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/icon-factory.js b/ui/lib/icon-factory.js
index c16507527..45be47b7a 100644
--- a/ui/lib/icon-factory.js
+++ b/ui/lib/icon-factory.js
@@ -43,7 +43,7 @@ IconFactory.prototype.generateNewIdenticon = function (address, diameter) {
// util
function iconExistsFor (address) {
- return (address in contractMap) && isValidAddress(address) && ('logo' in contractMap[address])
+ return (contractMap.address) && isValidAddress(address) && (contractMap[address].logo)
}
function imageElFor (address) {