fix: filter out the empty code currencies from the list on locales
This commit is contained in:
parent
77043c42ad
commit
9577d3548e
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ const allFields = (getData, auxElements = []) => {
|
||||||
view: getView(currencyData, 'code'),
|
view: getView(currencyData, 'code'),
|
||||||
input: Autocomplete,
|
input: Autocomplete,
|
||||||
inputProps: {
|
inputProps: {
|
||||||
options: currencyData,
|
options: currencyData?.filter(c => c.code !== ''),
|
||||||
valueProp: 'code',
|
valueProp: 'code',
|
||||||
getLabel: R.path(['code'])
|
getLabel: R.path(['code'])
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue