mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-20 01:18:37 +00:00
fix: update model name filtering to be case-sensitive
This commit is contained in:
@@ -131,7 +131,7 @@ export default function ModelRatioNotSetEditor(props) {
|
||||
// 在 return 语句之前,先处理过滤和分页逻辑
|
||||
const filteredModels = models.filter((model) =>
|
||||
searchText
|
||||
? model.name.toLowerCase().includes(searchText.toLowerCase())
|
||||
? model.name.includes(searchText)
|
||||
: true,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user