mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Fix workflow search cannot find uppercase letters (#908)
This commit is contained in:
@@ -127,8 +127,9 @@ const handleSearch = (query: string) => {
|
||||
expandedKeys.value = {}
|
||||
return
|
||||
}
|
||||
const lowerQuery = query.toLocaleLowerCase()
|
||||
filteredWorkflows.value = workflowStore.workflows.filter((workflow) => {
|
||||
return workflow.name.includes(query)
|
||||
return workflow.name.toLocaleLowerCase().includes(lowerQuery)
|
||||
})
|
||||
nextTick(() => {
|
||||
expandNode(filteredRoot.value)
|
||||
|
||||
Reference in New Issue
Block a user