fix(web): trim strings before searching/comparing (#31614)

This commit is contained in:
Mees Frensel
2026-09-16 13:22:33 +00:00
committed by GitHub
parent f30488596c
commit 320d90949e
+1 -1
View File
@@ -3,5 +3,5 @@ export const removeAccents = (str: string) => {
};
export const normalizeSearchString = (str: string) => {
return removeAccents(str.toLocaleLowerCase());
return removeAccents(str.toLocaleLowerCase().trim());
};