01Back navigation erases account requirementsapp/assets/javascripts/stimulus/pages/admins/compass/account_requirements_controller.js:25P1
A user who adds or edits account requirement rows, goes Back to step 1, then returns to step 2 loses every edit. `setCurrencies()` regenerates defaults after the one-time initial payload has been consumed. Preserve existing rows when the currency set has not changed, and reconcile rows only when step-1 currency choices actually change.
Fix direction
Track the last currency selection and skip `generateDefaults()` on repeated step entry; when currencies change, reconcile existing rows by retaining valid custom rows and adding/removing only affected defaults.
Acceptance check
Change GBP naming to Named Required, go Back then Next, and assert both the row and submitted JSON retain it.
Source evidence / confidence 100
app/assets/javascripts/stimulus/pages/admins/compass/account_requirements_controller.js:25-27 -- } else { this.generateDefaults(); }
app/assets/javascripts/stimulus/pages/admins/compass/lookup_wizard_controller.js:30 -- this.populateStep2Currencies();
app/assets/javascripts/stimulus/pages/admins/compass/account_requirements_controller.js:46 -- this.tbodyTarget.innerHTML = '';




