Skip to content

Commit

Permalink
fix(editor): Enable delete action when editing a workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cstuncsik committed May 15, 2024
1 parent 5fc45af commit 6438f1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineComponent({
return Boolean(this.activeNode && this.activeNode.type !== STICKY_NODE_TYPE);
},
workflow(): IWorkflowDb {
return this.workflowsStore.workflow;
return this.workflowsStore.getWorkflowById(this.currentWorkflow);
},
workflowName(): string {
return this.workflowsStore.workflowName;
Expand Down

0 comments on commit 6438f1f

Please sign in to comment.