From 35b4d6a2c41026dcc238fcee9e98aec90dfd28e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Thu, 2 Nov 2023 21:26:41 +0100 Subject: [PATCH] Fix normalized case-sensitive search params (#18992) --- .../src/data/git-providers/unified-repositories-search-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dashboard/src/data/git-providers/unified-repositories-search-query.ts b/components/dashboard/src/data/git-providers/unified-repositories-search-query.ts index deed38043fd159..6dd2f75cdaddb9 100644 --- a/components/dashboard/src/data/git-providers/unified-repositories-search-query.ts +++ b/components/dashboard/src/data/git-providers/unified-repositories-search-query.ts @@ -53,7 +53,7 @@ export const useUnifiedRepositorySearch = ({ searchString, excludeProjects = fal export const filterRepos = (searchString: string, suggestedRepos: SuggestedRepository[]) => { let results = suggestedRepos; - const normalizedSearchString = searchString.trim().toLowerCase(); + const normalizedSearchString = searchString.trim(); if (normalizedSearchString.length > 1) { results = suggestedRepos.filter((r) => {