Skip to content

Commit b032111

Browse files
authored
fix(editor): Switch to using shift+P shortcut for publishing (#25667)
1 parent e7dbd37 commit b032111

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/frontend/editor-ui/src/app/components/MainHeader/WorkflowHeaderDraftPublishActions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ const versionMenuActions = computed<Array<ActionDropdownItem<VERSION_ACTIONS>>>(
320320
{
321321
id: VERSION_ACTIONS.PUBLISH,
322322
label: i18n.baseText('workflows.publish'),
323-
shortcut: { keys: ['P'] },
323+
shortcut: { shiftKey: true, keys: ['P'] },
324324
disabled: shouldDisablePublishButton.value,
325325
},
326326
];
@@ -452,7 +452,7 @@ const onDropdownMenuSelect = async (action: VERSION_ACTIONS) => {
452452
};
453453
454454
useKeybindings({
455-
p: {
455+
shift_p: {
456456
disabled: () => shouldDisablePublishButton.value,
457457
run: async () => {
458458
await onPublishButtonClick();

0 commit comments

Comments
 (0)