This commit is contained in:
Eugene Pankov
2020-12-27 21:03:12 +01:00
parent 10ae6ffd99
commit bc7a537c4c
13 changed files with 21 additions and 22 deletions

View File

@@ -143,7 +143,7 @@ export class SettingsTabComponent extends BaseTabComponent {
hotkeyFilterFn (hotkey: HotkeyDescription, query: string): boolean {
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
const s = hotkey.name + (this.getHotkey(hotkey.id) || []).toString() as string
const s = hotkey.name + (this.getHotkey(hotkey.id) || []).toString()
return s.toLowerCase().includes(query.toLowerCase())
}
}