mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Support 'Save Workflow' key shortcut in new workflows (#16756)
This commit is contained in:
@@ -849,7 +849,7 @@ function onPinNodes(ids: string[], source: PinDataSource) {
|
||||
}
|
||||
|
||||
async function onSaveWorkflow() {
|
||||
const workflowIsSaved = !uiStore.stateIsDirty;
|
||||
const workflowIsSaved = !uiStore.stateIsDirty && !workflowsStore.isNewWorkflow;
|
||||
const workflowIsArchived = workflowsStore.workflow.isArchived;
|
||||
|
||||
if (workflowIsSaved || workflowIsArchived) {
|
||||
|
||||
Reference in New Issue
Block a user