mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 08:19:51 +00:00
fix: Allow for leading/trailing spaces when searching settings (#5193)
This commit is contained in:
@@ -118,7 +118,7 @@ const sortedGroups = (category: SettingTreeNode): ISettingGroup[] => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleSearch = (query: string) => {
|
const handleSearch = (query: string) => {
|
||||||
handleSearchBase(query)
|
handleSearchBase(query.trim())
|
||||||
activeCategory.value = query ? null : defaultCategory.value
|
activeCategory.value = query ? null : defaultCategory.value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user