mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 07:09:54 +01:00
chore(command_palette): hide jump to note / command palette
This commit is contained in:
@@ -112,7 +112,7 @@ export interface ActionKeyboardShortcut {
|
||||
* An icon describing the action.
|
||||
* This is currently only used in the command palette.
|
||||
*/
|
||||
iconClass: string;
|
||||
iconClass?: string;
|
||||
/**
|
||||
* Scope here means on which element the keyboard shortcuts are attached - this means that for the shortcut to work,
|
||||
* the focus has to be inside the element.
|
||||
@@ -127,6 +127,10 @@ export interface ActionKeyboardShortcut {
|
||||
* This is used to hide actions that are not available in the web version.
|
||||
*/
|
||||
isElectronOnly?: boolean;
|
||||
/**
|
||||
* If set to true, the action will not be shown in the command palette.
|
||||
*/
|
||||
ignoreFromCommandPalette?: boolean;
|
||||
}
|
||||
|
||||
export type KeyboardShortcut = ActionKeyboardShortcut | KeyboardShortcutSeparator;
|
||||
|
||||
Reference in New Issue
Block a user