Merge pull request #18904 from Scroody/fix-shortcut-hook
Fix: shortcut hook
This commit is contained in:
commit
20ff16876c
@ -21,7 +21,7 @@ export function useShortcut(param: string): string {
|
||||
);
|
||||
|
||||
const shortcutsString: string = filteredShortcuts
|
||||
.filter((el) => el.descId === param.toLowerCase())
|
||||
.filter((el) => el.descId.toLowerCase() === param.toLowerCase())
|
||||
.map((el) => el.accesskey)
|
||||
.pop() || '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user