Skip to content

Commit

Permalink
dont generate loop-over value when saving the workflow anymore (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jan 27, 2025
1 parent a5f2b68 commit 2100174
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,6 @@ function getWorkflowBlocksUtil(
block_type: "for_loop",
label: node.data.label,
continue_on_failure: node.data.continueOnFailure,
loop_over_parameter_key: node.data.loopValue,
loop_blocks: getOrderedChildrenBlocks(nodes, edges, node.id),
loop_variable_reference: node.data.loopVariableReference,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export type FileUrlParserBlockYAML = BlockYAMLBase & {

export type ForLoopBlockYAML = BlockYAMLBase & {
block_type: "for_loop";
loop_over_parameter_key: string;
loop_over_parameter_key?: string;
loop_blocks: Array<BlockYAML>;
loop_variable_reference: string | null;
};
Expand Down

0 comments on commit 2100174

Please sign in to comment.