aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/config.js b/ui/app/config.js
index cc74b29db..06a1c2899 100644
--- a/ui/app/config.js
+++ b/ui/app/config.js
@@ -167,7 +167,9 @@ function currentConversionInformation (metamaskState, state) {
state.dispatch(actions.setCurrentCurrency(newCurrency))
},
defaultValue: currentCurrency,
- }, infuraCurrencies.map((currency) => {
+ }, infuraCurrencies.sort((a, b) => {
+ return a.quote.name.toLocaleLowerCase().localeCompare(b.quote.name.toLocaleLowerCase())
+ }).map((currency) => {
return h('option', {key: currency.symbol, value: currency.symbol}, `${currency.quote.code.toUpperCase()} - ${currency.quote.name}`)
})
),