Skip to content

Commit c99c9b8

Browse files
committed
Ensure lower case for model name search comparison
1 parent c3a8251 commit c99c9b8

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)