chore: describe addPairToWorkflow
This commit is contained in:
@@ -325,7 +325,12 @@ export class WorkflowGenerator {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a new pair to the currently generated workflow.
|
||||||
|
* @param index The index on which the pair should be added.
|
||||||
|
* @param pair The pair to be added.
|
||||||
|
* @returns void
|
||||||
|
*/
|
||||||
public addPairToWorkflow = (index: number, pair: WhereWhatPair) => {
|
public addPairToWorkflow = (index: number, pair: WhereWhatPair) => {
|
||||||
if (index === this.workflowRecord.workflow.length) {
|
if (index === this.workflowRecord.workflow.length) {
|
||||||
this.workflowRecord.workflow.unshift(pair);
|
this.workflowRecord.workflow.unshift(pair);
|
||||||
|
|||||||
Reference in New Issue
Block a user