diff --git a/src/Components/CreateImageWizard/steps/ImageOutput/components/TargetEnvironment.tsx b/src/Components/CreateImageWizard/steps/ImageOutput/components/TargetEnvironment.tsx index 04a788827d..7bb0d35675 100644 --- a/src/Components/CreateImageWizard/steps/ImageOutput/components/TargetEnvironment.tsx +++ b/src/Components/CreateImageWizard/steps/ImageOutput/components/TargetEnvironment.tsx @@ -173,10 +173,74 @@ const TargetEnvironment = () => { Target environments} fieldId='target-environments' > - Select target items for this image. + + Select one or more target environments for this image. + + + {publicClouds.length > 0 && ( + + {publicClouds.includes('aws') && ( + handleToggleEnvironment('aws')} + body={environments.includes('aws') ? : undefined} + /> + )} + {publicClouds.includes('gcp') && ( + handleToggleEnvironment('gcp')} + body={environments.includes('gcp') ? : undefined} + /> + )} + {publicClouds.includes('azure') && ( + handleToggleEnvironment('azure')} + body={environments.includes('azure') ? : undefined} + /> + )} + {publicClouds.includes('oci') && ( + handleToggleEnvironment('oci')} + /> + )} + + )} {privateClouds.length > 0 && ( { > {privateClouds.includes('vsphere-ova') && ( { )} {privateClouds.includes('vsphere') && ( { )} - {publicClouds.length > 0 && ( - - {publicClouds.includes('aws') && ( - handleToggleEnvironment('aws')} - body={environments.includes('aws') ? : undefined} - /> - )} - {publicClouds.includes('gcp') && ( - handleToggleEnvironment('gcp')} - body={environments.includes('gcp') ? : undefined} - /> - )} - {publicClouds.includes('azure') && ( - handleToggleEnvironment('azure')} - body={environments.includes('azure') ? : undefined} - /> - )} - {publicClouds.includes('oci') && ( - handleToggleEnvironment('oci')} - /> - )} - - )} - 0 || publicClouds.length > 0 @@ -317,7 +319,7 @@ const TargetEnvironment = () => { > {miscFormats.includes('guest-image') && ( { )} {miscFormats.includes('image-installer') && ( { )} {miscFormats.includes('network-installer') && ( { )} {miscFormats.includes('pxe-tar-xz') && ( { )} {miscFormats.includes('wsl') && (