File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ const STEPS = {
7777 const stepContainerBlock = containerBlock as stepContainer . StepContainerBlock ;
7878 const stepItemBlocks : stepContainer . StepItemBlock [ ] = stepContainerBlock . getStepItemBlocks ( ) ;
7979
80- const oldStepNames = [ ...this . mrcStepNames ] ;
8180 this . mrcStepNames = [ ] ;
8281 stepItemBlocks . forEach ( ( stepItemBlock ) => {
8382 this . mrcStepNames . push ( stepItemBlock . getName ( ) ) ;
@@ -86,7 +85,7 @@ const STEPS = {
8685 // Update jump blocks for any renamed steps
8786 const workspace = this . workspace ;
8887 const jumpBlocks = workspace . getBlocksByType ( MRC_JUMP_TO_STEP , false ) ;
89- stepItemBlocks . forEach ( ( stepItemBlock , index ) => {
88+ stepItemBlocks . forEach ( ( stepItemBlock ) => {
9089 const oldName = stepItemBlock . getOriginalName ( ) ;
9190 const newName = stepItemBlock . getName ( ) ;
9291 if ( oldName && oldName !== newName ) {
You can’t perform that action at this time.
0 commit comments