mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Resolve merge conflicts for currency sort merge.
This commit is contained in:
parent
51f0911f87
commit
f6f7798828
@ -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…
Reference in New Issue
Block a user