diff --git a/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx b/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx index a31d822ab6..ad7fbb3429 100644 --- a/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx +++ b/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx @@ -239,8 +239,7 @@ export const GroupPickerDialog = ({ canBrowse={canBrowse} /> {isSearching && - group.subGroups?.length !== 0 && - group.subGroups!.map((g) => ( + group.subGroups?.map((g) => (