Wizard: Fix bug causing crash upon visiting Azure step

This commit fixes a bug in the wizard. The Azure step name was
incorrectly set when using the 'Recreate image' option which caused the
wizard to crash when trying to access the Azure step.
This commit is contained in:
lucasgarfield 2023-04-12 12:38:53 +02:00 committed by Sanne Raymaekers
parent 451b5784d5
commit c7add821c2

View file

@ -472,7 +472,7 @@ const formStepHistory = (composeRequest) => {
if (uploadRequest.type === 'aws') {
steps.push('aws-target-env');
} else if (uploadRequest.type === 'azure') {
steps.push('azure-target-env');
steps.push('ms-azure-target-env');
} else if (uploadRequest.type === 'gcp') {
steps.push('google-cloud-target-env');
}