mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix for the keyboard commands modal
This commit is contained in:
parent
5b86a23587
commit
a766da372c
1 changed files with 8 additions and 1 deletions
|
|
@ -178,7 +178,14 @@ export function KeyboardShortcutListModal(
|
|||
>
|
||||
<ShortcutListSection
|
||||
title="Navigation"
|
||||
commands={navigationCommands(undefined)}
|
||||
commands={navigationCommands(undefined).map((action) => {
|
||||
return {
|
||||
shortcutKeys: action.shortcut ?? [],
|
||||
callback: () => {},
|
||||
actionDescription: action.name,
|
||||
shortcutKeyDescription: (action.shortcut ?? []).join(','),
|
||||
}
|
||||
})}
|
||||
/>
|
||||
<ShortcutListSection
|
||||
title="Preferences"
|
||||
|
|
|
|||
Loading…
Reference in a new issue