fix: goto-anything command filter should only match shortcut (#23862)

This commit is contained in:
lyzno1
2025-08-13 13:55:25 +08:00
committed by GitHub
parent e11a334c9b
commit e0fe0e1a3e
2 changed files with 16 additions and 17 deletions

View File

@@ -20,7 +20,6 @@ const CommandSelector: FC<Props> = ({ actions, onCommandSelect, searchFilter, co
return true
const filterLower = searchFilter.toLowerCase()
return action.shortcut.toLowerCase().includes(filterLower)
|| action.key.toLowerCase().includes(filterLower)
})
useEffect(() => {