1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Update if logic to avoid redundant check

This commit is contained in:
Andrew Kingston 2023-10-09 08:33:28 +01:00
parent e415c516e9
commit c48eca4a0f

View file

@ -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())]
}