Fix issue with groups search not sending the search input in the request (#23452)

Closes #23341
This commit is contained in:
osorionicolas 2023-09-22 16:35:11 +02:00 committed by GitHub
parent fa1747cb27
commit 48a0b3436d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ export const GroupPickerDialog = ({
first: `${first}`,
max: `${max + 1}`,
},
isSearching ? null : { search: filter },
isSearching ? { search: filter } : null,
),
);
} else if (!navigation.map(({ id }) => id).includes(groupId)) {