Resolve merge conflicts for currency sort merge.

feature/default_network_editable
Roman Rodov 7 years ago committed by Kevin Serrano
parent 51f0911f87
commit f6f7798828
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 4
      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}`)
})
),

Loading…
Cancel
Save