diff --git a/packages/core/src/client/webcomponents/components/views-builtin/SettingsShortcuts.vue b/packages/core/src/client/webcomponents/components/views-builtin/SettingsShortcuts.vue index 78ad1867a..9179d2d39 100644 --- a/packages/core/src/client/webcomponents/components/views-builtin/SettingsShortcuts.vue +++ b/packages/core/src/client/webcomponents/components/views-builtin/SettingsShortcuts.vue @@ -54,6 +54,10 @@ function getEffectiveKeybindings(id: string): DevToolsCommandKeybinding[] { return commandsCtx.getKeybindings(id) } +function isExecutable(command: DevToolsCommandEntry): boolean { + return command.source === 'server' || !!command.action +} + function isOverridden(id: string): boolean { return isKeybindingOverrideDifferentFromDefault(shortcutOverrides.value[id], getDefaultKeybindings(id)) } @@ -278,7 +282,7 @@ watch(editorOpen, (v) => { -
+