fix: Allow for leading/trailing spaces when searching settings (#5193)

This commit is contained in:
Alexander Brown
2025-08-26 15:59:25 -07:00
committed by GitHub
parent 62e06f4358
commit 9e8db6125c

View File

@@ -118,7 +118,7 @@ const sortedGroups = (category: SettingTreeNode): ISettingGroup[] => {
}
const handleSearch = (query: string) => {
handleSearchBase(query)
handleSearchBase(query.trim())
activeCategory.value = query ? null : defaultCategory.value
}