Skip to content

Commit

Permalink
Fix bug in step deletion logic in workflowStepStore.ts -- stepMapOver…
Browse files Browse the repository at this point in the history
… is indexed by number, not string.
  • Loading branch information
dannon committed Oct 17, 2024
1 parent 155c8b3 commit a6ede44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/stores/workflowStepStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export const useWorkflowStepStore = defineScopedStore("workflowStepStore", (work
delete steps.value[stepId.toString()];
delete stepExtraInputs.value[stepId];
delete stateStore.multiSelectedSteps[stepId];
delete stepMapOver.value[stepId.toString()];
delete stepMapOver.value[stepId];

deleteStepPosition(stepId);
deleteStepTerminals(stepId);
Expand Down

0 comments on commit a6ede44

Please sign in to comment.