soiz1 commited on
Commit
ef75ef5
·
verified ·
1 Parent(s): 317a89d

Update src/engine/runtime.js

Browse files
Files changed (1) hide show
  1. src/engine/runtime.js +1 -1
src/engine/runtime.js CHANGED
@@ -1755,7 +1755,7 @@ class Runtime extends EventEmitter {
1755
  blockJSON.checkboxInFlyout = true;
1756
  }
1757
  }
1758
- if (blockInfo.blockType === BlockType.LOOP || ('branchIndicator' in blockInfo || 'branchIconURI' in blockInfo)) {
1759
  // Add icon to the bottom right of a loop block
1760
  blockJSON[`lastDummyAlign${outLineNum}`] = 'RIGHT';
1761
  blockJSON[`message${outLineNum}`] = '%1';
 
1755
  blockJSON.checkboxInFlyout = true;
1756
  }
1757
  }
1758
+ if ((blockInfo.blockType === BlockType.LOOP || ('branchIndicator' in blockInfo || 'branchIconURI' in blockInfo)) && blockInfo.branchIndicator !== "") {
1759
  // Add icon to the bottom right of a loop block
1760
  blockJSON[`lastDummyAlign${outLineNum}`] = 'RIGHT';
1761
  blockJSON[`message${outLineNum}`] = '%1';