Implement case-insensitive comparison for search on provider info page (#26590)
Helps users to find the providers they are searching for without knowing how it is spelled internally. Fixes #26589 Signed-off-by: Stefan Gries <stefan.gries@codecentric.de>
This commit is contained in:
parent
4096a2657e
commit
e988e4f135
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export const ProviderInfo = () => {
|
|||
const providerInfo = useMemo(
|
||||
() =>
|
||||
Object.entries(serverInfo.providers || []).filter(([key]) =>
|
||||
key.includes(filter),
|
||||
key.toLowerCase().includes(filter.toLowerCase()),
|
||||
),
|
||||
[filter],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue