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
1 changed files with 1 additions and 1 deletions

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