Implement creating node before initial step + deleting loop edge (#14525)
https://github.com/user-attachments/assets/d4ef0fa1-89e0-4848-9a4d-93dee81254f7 ## Remaining to handle in future PRs - It would be easier for the frontend if the loop edge was stored in the backend instead of being an edge case the frontend must handle - Optimistic rendering when deleting loop edge
This commit is contained in:
committed by
GitHub
parent
e505e9cf9f
commit
60de57f469
+3
-1
@@ -49,13 +49,15 @@ export const CommandMenuWorkflowSelectActionContent = () => {
|
||||
);
|
||||
}
|
||||
|
||||
const { parentStepId, nextStepId, position } = workflowInsertStepIds;
|
||||
const { parentStepId, nextStepId, position, connectionOptions } =
|
||||
workflowInsertStepIds;
|
||||
|
||||
const createdStep = await createStep({
|
||||
newStepType: actionType,
|
||||
parentStepId,
|
||||
nextStepId,
|
||||
position,
|
||||
connectionOptions,
|
||||
});
|
||||
|
||||
if (!isDefined(createdStep)) {
|
||||
|
||||
Reference in New Issue
Block a user