We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa32b2d commit 1b55055Copy full SHA for 1b55055
src/blocks/mrc_jump_to_step.ts
@@ -97,8 +97,8 @@ export const pythonFromBlock = function (
97
block: JumpToStepBlock,
98
_generator: ExtendedPythonGenerator,
99
) {
100
- let code = 'self.current_step_index = self.mrc_step_name_to_index["' +
101
- block.getFieldValue(FIELD_STEP_NAME) + '"]\n';
+ let code = 'self._current_step = "' +
+ block.getFieldValue(FIELD_STEP_NAME) + '"\n';
102
code += 'return\n';
103
104
return code;
0 commit comments