fix: ui and chromium compatibility

This commit is contained in:
Taranto 2020-10-22 16:25:22 +01:00 committed by Josh Harvey
parent 00387e0862
commit 7b5c70a958
15 changed files with 66 additions and 45 deletions

View file

@ -57,7 +57,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
return R.differenceWith(
(x, y) => x.code === y && !it?.cryptoCurrencies.includes(x.code),
cryptoData,
overridenMachineCoins[it?.machine]
overridenMachineCoins[it?.machine] ?? []
)
}
@ -84,7 +84,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
view: displayCodeArray(cryptoData),
input: Autocomplete,
inputProps: {
options: it => suggestionFilter(it, cryptoData),
options: (...[, it]) => suggestionFilter(it, cryptoData),
valueProp: 'code',
getLabel: R.path(['code']),
multiple: true