High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): trim strings before searching/comparing (#31614)
Mees Frensel320d90949eba
diff --git a/web/src/lib/utils/string-utils.ts b/web/src/lib/utils/string-utils.tsindex d92ad0a923..b61eb4885e 100644--- a/web/src/lib/utils/string-utils.ts+++ b/web/src/lib/utils/string-utils.ts@@ -3,5 +3,5 @@ export const removeAccents = (str: string) => {};export const normalizeSearchString = (str: string) => {- return removeAccents(str.toLocaleLowerCase());+ return removeAccents(str.toLocaleLowerCase().trim());};