dont generate loop-over value when saving the workflow anymore (#1659)
This commit is contained in:
@@ -1110,7 +1110,6 @@ function getWorkflowBlocksUtil(
|
|||||||
block_type: "for_loop",
|
block_type: "for_loop",
|
||||||
label: node.data.label,
|
label: node.data.label,
|
||||||
continue_on_failure: node.data.continueOnFailure,
|
continue_on_failure: node.data.continueOnFailure,
|
||||||
loop_over_parameter_key: node.data.loopValue,
|
|
||||||
loop_blocks: getOrderedChildrenBlocks(nodes, edges, node.id),
|
loop_blocks: getOrderedChildrenBlocks(nodes, edges, node.id),
|
||||||
loop_variable_reference: node.data.loopVariableReference,
|
loop_variable_reference: node.data.loopVariableReference,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ export type FileUrlParserBlockYAML = BlockYAMLBase & {
|
|||||||
|
|
||||||
export type ForLoopBlockYAML = BlockYAMLBase & {
|
export type ForLoopBlockYAML = BlockYAMLBase & {
|
||||||
block_type: "for_loop";
|
block_type: "for_loop";
|
||||||
loop_over_parameter_key: string;
|
loop_over_parameter_key?: string;
|
||||||
loop_blocks: Array<BlockYAML>;
|
loop_blocks: Array<BlockYAML>;
|
||||||
loop_variable_reference: string | null;
|
loop_variable_reference: string | null;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user