diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 1ec23d04..ffb226eb 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -311,7 +311,11 @@ export class WorkflowGenerator { return this.workflowRecord; }; - + /** + * Removes a pair from the currently generated workflow. + * @param index The index of the pair to be removed. + * @returns void + */ public removePairFromWorkflow = (index: number) => { if (index <= this.workflowRecord.workflow.length && index >= 0) { this.workflowRecord.workflow.splice(this.workflowRecord.workflow.length - (index + 1), 1);