Skip to content

Commit 080c6d4

Browse files
authored
Ensure lower case for model name search comparison (#18590)
1 parent 9e30cb0 commit 080c6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ModelCatalog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const ModelCatalog = ({ models }) => {
7070
}
7171

7272
if (filters.search) {
73-
if (!model.name.includes(filters.search)) {
73+
if (!model.name.toLowerCase().includes(filters.search.toLowerCase())) {
7474
return false;
7575
}
7676
}

0 commit comments

Comments
 (0)