Update if logic to avoid redundant check
This commit is contained in:
parent
e415c516e9
commit
c48eca4a0f
|
@ -94,7 +94,7 @@ export default class CustomFetch extends DataFetch {
|
|||
}
|
||||
|
||||
// Generate options for array columns
|
||||
if (type === "array") {
|
||||
else if (type === "array") {
|
||||
constraints.inclusion = [...new Set(data.map(x => x[key]).flat())]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue