Skip to content

Commit

Permalink
Merge pull request #18904 from Scroody/fix-shortcut-hook
Browse files Browse the repository at this point in the history
Fix: shortcut hook
  • Loading branch information
ramonlsouza committed Oct 6, 2023
2 parents de514dc + ab0ff67 commit 20ff168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigbluebutton-html5/imports/ui/core/hooks/useShortcut.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() || '';

Expand Down

0 comments on commit 20ff168

Please sign in to comment.