Wizard: Clarify variable names and comments in requestToState()

This commit clarifies variable names and comments that were found to be
confusing during the review of 5adc0e.
This commit is contained in:
lucasgarfield 2023-01-03 11:43:01 +01:00 committed by Lucas Garfield
parent c515a3d5a3
commit d4c8d71bd1
2 changed files with 11 additions and 4 deletions

View file

@ -135,7 +135,8 @@ const Repositories = (props) => {
// Repositories in the form state can be present when 'Recreate image' is used
// to open the wizard that are not necessarily in content sources.
const formStateReposList = getState()?.values?.['payload-repositories'];
const formStateReposList =
getState()?.values?.['original-payload-repositories'];
const mergeRepositories = (contentSourcesRepos, formStateReposList) => {
const formStateRepos = {};