Skip to content

Commit

Permalink
Update if logic to avoid redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
aptkingston committed Oct 9, 2023
1 parent c883816 commit 7ca304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend-core/src/fetch/CustomFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())]
}

Expand Down

0 comments on commit 7ca304b

Please sign in to comment.