From 90f4fbe4e583573dc67ea9457a5b9640bf39544b Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 24 Nov 2023 15:29:22 +0100 Subject: [PATCH] Fix search in group picker dialog (#25009) Closes #25008 Signed-off-by: Jon Koops --- js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) => (