mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): fix for executions view auto-refresh and new workflow saving (#4462)
* 🐛 Fixing auto-refresh and save workflow bugs. Added executions filtering based on current workflow settings * ✔️ Fixing a lint error
This commit is contained in:
committed by
GitHub
parent
c66929f53d
commit
dbac7955f9
@@ -683,7 +683,7 @@ export const workflowHelpers = mixins(
|
||||
async saveCurrentWorkflow({id, name, tags}: {id?: string, name?: string, tags?: string[]} = {}, redirect = true): Promise<boolean> {
|
||||
const currentWorkflow = id || this.$route.params.name;
|
||||
|
||||
if (!currentWorkflow) {
|
||||
if (!currentWorkflow || ['new', PLACEHOLDER_EMPTY_WORKFLOW_ID].includes(currentWorkflow)) {
|
||||
return this.saveAsNewWorkflow({name, tags}, redirect);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user