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'),
|
||||
input: Autocomplete,
|
||||
inputProps: {
|
||||
options: currencyData,
|
||||
options: currencyData?.filter(c => c.code !== ''),
|
||||
valueProp: 'code',
|
||||
getLabel: R.path(['code'])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue