aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-09-19 03:20:41 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-09-19 03:20:41 +0800
commit51cebcc1733e6ac2b1d7fa8841eb937c979cd074 (patch)
tree446240ddf38e7127bb21a069dd4f30ebe11ad856 /ui/app
parent899a12cb2a66e7c44ef432154d2f4acf4df526a0 (diff)
downloadtangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar.gz
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar.bz2
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar.lz
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar.xz
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.tar.zst
tangerine-wallet-browser-51cebcc1733e6ac2b1d7fa8841eb937c979cd074.zip
Fix the property query for new currencies.
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/config.js b/ui/app/config.js
index 4b0218692..fbd38c7f4 100644
--- a/ui/app/config.js
+++ b/ui/app/config.js
@@ -3,8 +3,8 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const actions = require('./actions')
-const infuraCurrencies = require('./infura-conversion.json').sort((a, b) => {
- return a.name.toLocaleLowerCase().localeCompare(b.name.toLocaleLowerCase())
+const infuraCurrencies = require('./infura-conversion.json').objects.sort((a, b) => {
+ return a.quote.name.toLocaleLowerCase().localeCompare(b.quote.name.toLocaleLowerCase())
})
const validUrl = require('valid-url')
const exportAsFile = require('./util').exportAsFile