Reset the list of relevant steps each time so it is properly initialized
Without this, going to a step, hitting the browser's Back button, then going to another step (e.g. change password, back, change password recovery) gave this error:
Cannot read properties of undefined (reading 'id') on Profile UI
It seemed to be because currentStep was undefined because the current URL path didn't match any of the "relevant" steps (since they hadn't been updated). See ProfileWizard.vue:
Fixed
Without this, going to a step, hitting the browser's Back button, then going to another step (e.g. change password, back, change password recovery) gave this error:
Cannot read properties of undefined (reading 'id') on Profile UI
It seemed to be because currentStep was undefined because the current URL path didn't match any of the "relevant" steps (since they hadn't been updated). See ProfileWizard.vue:
NOTE: Hiding whitespace helps this diff.
IDP-947