CreateImageWizard: only display upload review for selected destinations
This commit is contained in:
parent
c230d41d88
commit
8c3a60a7ed
1 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ const ReviewStep = () => {
|
|||
<Tabs isFilled activeKey={ activeTabKey } onSelect={ handleTabClick } className="pf-u-w-75">
|
||||
<Tab eventKey={ 0 } title={ <TabTitleText>Target environment</TabTitleText> } data-testid='tab-target'>
|
||||
<List isPlain iconSize="large">
|
||||
{getState()?.values?.['aws-account-id'] &&
|
||||
{getState()?.values?.['target-environment']?.aws &&
|
||||
<ListItem icon={ <img className='provider-icon' src='/apps/frontend-assets/partners-icons/aws.svg' /> }>
|
||||
<TextContent>
|
||||
<Text component={ TextVariants.h3 }>
|
||||
|
|
@ -50,7 +50,7 @@ const ReviewStep = () => {
|
|||
</TextContent>
|
||||
</ListItem>
|
||||
}
|
||||
{getState()?.values?.['google-account-type'] &&
|
||||
{getState()?.values?.['target-environment']?.google &&
|
||||
<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' /> }>
|
||||
|
|
@ -67,7 +67,7 @@ const ReviewStep = () => {
|
|||
</TextContent>
|
||||
</ListItem>
|
||||
}
|
||||
{getState()?.values?.['azure-subscription-id'] &&
|
||||
{getState()?.values?.['target-environment']?.azure &&
|
||||
<ListItem
|
||||
className='pf-c-list__item pf-u-mt-md'
|
||||
icon={ <img className='provider-icon' src='/apps/frontend-assets/partners-icons/microsoft-azure-short.svg' /> }>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue