Make group filter case-insensitive (#32471)
Fixes #32419 Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
parent
058c2717a0
commit
943d5320f1
1 changed files with 4 additions and 1 deletions
|
@ -224,7 +224,10 @@ export const GroupPickerDialog = ({
|
|||
<DataList aria-label={t("groups")} isCompact>
|
||||
{groups.slice(0, max).map((group: SelectableGroup) => (
|
||||
<Fragment key={group.id}>
|
||||
{(!isSearching || group.name?.includes(filter)) && (
|
||||
{(!isSearching ||
|
||||
group.name
|
||||
?.toLocaleUpperCase()
|
||||
.includes(filter.toLocaleUpperCase())) && (
|
||||
<GroupRow
|
||||
key={group.id}
|
||||
group={group}
|
||||
|
|
Loading…
Reference in a new issue