Fix search in group picker dialog (#25009)

Closes #25008

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2023-11-24 15:29:22 +01:00 committed by GitHub
parent 9be83e01c4
commit 90f4fbe4e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,8 +239,7 @@ export const GroupPickerDialog = ({
canBrowse={canBrowse} canBrowse={canBrowse}
/> />
{isSearching && {isSearching &&
group.subGroups?.length !== 0 && group.subGroups?.map((g) => (
group.subGroups!.map((g) => (
<GroupRow <GroupRow
key={g.id} key={g.id}
group={g} group={g}