Fix UX
This commit is contained in:
parent
a175fb3293
commit
a834402e16
|
@ -72,10 +72,13 @@
|
|||
const result = {
|
||||
...optionsObj,
|
||||
...(fetchResults || [])?.reduce((accumulator, row) => {
|
||||
accumulator[row._id] = row
|
||||
if (!optionsObj[row._id]) {
|
||||
accumulator[row._id] = row
|
||||
}
|
||||
return accumulator
|
||||
}, {}),
|
||||
}
|
||||
|
||||
return Object.values(result)
|
||||
}
|
||||
$: {
|
||||
|
|
Loading…
Reference in New Issue