Fix shortcuts inconsistencies (#12624)
Fixes https://github.com/twentyhq/core-team-issues/issues/1093 The search shortcut and the go to shortcuts were not always available. They worked after a refresh but not when clicking outside of a table or a board, or when a table row or board card was focus. This PR fixes this: https://github.com/user-attachments/assets/f454037b-9dfd-4f9c-9124-43f4b8b5cec8
This commit is contained in:
@ -53,7 +53,7 @@ export const useCommandMenuHotKeys = () => {
|
||||
openRecordsSearchPage();
|
||||
},
|
||||
false,
|
||||
AppHotkeyScope.KeyboardShortcutMenu,
|
||||
AppHotkeyScope.SearchRecords,
|
||||
[openRecordsSearchPage],
|
||||
{
|
||||
ignoreModifiers: true,
|
||||
|
||||
Reference in New Issue
Block a user