Skip to content

Commit

Permalink
Merge pull request #942 from Eastern-Research-Group/bugfix/677_advanc…
Browse files Browse the repository at this point in the history
…ed-search-list-filter

Bugfix/677 advanced search list filter
  • Loading branch information
cschwinderg authored Jan 31, 2024
2 parents 5159a3d + d0869f5 commit 3fb9f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/components/shared/PaginatedSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function wrapMenuList(loadPrevious: () => boolean, loadNext: () => boolean) {
}

const hasSubChildren =
children.length === 1 && Boolean(children[0].props?.children);
children.length === 1 && Array.isArray(children[0].props?.children);

// Determine if this is a group and get the children accordingly.
const childrenToDisplay = hasSubChildren
Expand Down

0 comments on commit 3fb9f03

Please sign in to comment.