CreateImageWizard: rename google to gcp in form state
This commit is contained in:
parent
a16244edaa
commit
7aaedd67ab
4 changed files with 6 additions and 6 deletions
|
|
@ -129,7 +129,7 @@ const ReviewStep = () => {
|
|||
</TextContent>
|
||||
</ListItem>
|
||||
}
|
||||
{getState()?.values?.['target-environment']?.google &&
|
||||
{getState()?.values?.['target-environment']?.gcp &&
|
||||
<ListItem
|
||||
className='pf-c-list__item pf-u-mt-md'
|
||||
icon={ <img className='provider-icon' src='/apps/frontend-assets/partners-icons/google-cloud-short.svg' /> }>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
|
|||
const [ environment, setEnvironment ] = useState({
|
||||
aws: false,
|
||||
azure: false,
|
||||
google: false,
|
||||
gcp: false,
|
||||
vsphere: false,
|
||||
'guest-image': false,
|
||||
'image-installer': false,
|
||||
|
|
@ -55,8 +55,8 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
|
|||
icon={ <img
|
||||
className='provider-icon'
|
||||
src={ '/apps/frontend-assets/partners-icons/google-cloud-short.svg' } /> }
|
||||
onClick={ () => handleSetEnvironment('google') }
|
||||
isSelected={ environment.google }
|
||||
onClick={ () => handleSetEnvironment('gcp') }
|
||||
isSelected={ environment.gcp }
|
||||
isStacked
|
||||
isDisplayLarge />
|
||||
<Tile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue