File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ export function getNextPager(
3030 // We reached the end of the sequence
3131 const isEndSequence =
3232 subPage && pager . nbSubPages ? subPage >= pager . nbSubPages : false ;
33- const moveUpOnEnd =
34- parent === 'Roundabout' && pager . nbIterations && pager . nbIterations > 1 ;
33+ const moveUpOnEnd = parent === 'Roundabout' && pager . nbIterations ;
3534 // Move up at the end of a sequence (instead of going to the next Iteration)
3635 if ( isEndSequence && moveUpOnEnd ) {
3736 return {
Original file line number Diff line number Diff line change @@ -37,18 +37,6 @@ export function autoExploreLoop(
3737 ) ;
3838 }
3939
40- // The page contains a roundabout, go to the first iteration if it only has one iteration
41- if (
42- page . components [ 0 ] . componentType === 'Roundabout' &&
43- page . subPages &&
44- page . subPages . length > 0
45- ) {
46- const nbIterations = state . executeExpression < number > ( page . iterations ) ;
47- if ( nbIterations === 1 ) {
48- goInsideSubpage ( page . subPages , 1 ) ;
49- }
50- }
51-
5240 // No loop were explored, don't mutate the state
5341 if ( ! hasExploredLoop ) {
5442 return state ;
You can’t perform that action at this time.
0 commit comments