InseeFr / Lunatic

Library of questionnaire components
https://inseefr.github.io/Lunatic/
MIT License
20 stars 21 forks source link

fix: lastReachedPage update in loops #1020

Closed QRuhier closed 1 month ago

QRuhier commented 1 month ago

When checking if pager is a new reached page, that was comparing subPage values independently of page/iteration, and iteration independently of page (see change there)

Instead of adding conditions, i directly used pageTageComparator that already handle the pages comparison

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud