Skip to content

Commit

Permalink
fix: do not show region in review for Azure provider
Browse files Browse the repository at this point in the history
Refs HMS-2255
  • Loading branch information
ezr-ondrej committed Nov 3, 2023
1 parent 3f5706c commit f73b3d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Components/LaunchDescriptionList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,17 @@ const LaunchDescriptionList = ({ image }) => {
<DescriptionListTerm>Account</DescriptionListTerm>
<DescriptionListDescription>{getChosenSourceName()}</DescriptionListDescription>
</DescriptionListGroup>
{provider === AZURE_PROVIDER && (
{(provider === AZURE_PROVIDER && (
<DescriptionListGroup>
<DescriptionListTerm>Resource group</DescriptionListTerm>
<DescriptionListDescription>{azureResourceGroup || <i>{imageAzureResourceGroup(image)}</i>}</DescriptionListDescription>
</DescriptionListGroup>
)) || (
<DescriptionListGroup>
<DescriptionListTerm>{regionLabel}</DescriptionListTerm>
<DescriptionListDescription>{chosenRegion}</DescriptionListDescription>
</DescriptionListGroup>
)}
<DescriptionListGroup>
<DescriptionListTerm>{regionLabel}</DescriptionListTerm>
<DescriptionListDescription>{chosenRegion}</DescriptionListDescription>
</DescriptionListGroup>
<DescriptionListGroup>
<DescriptionListTerm>{instanceTypeLabel}</DescriptionListTerm>
<DescriptionListDescription>{chosenInstanceType}</DescriptionListDescription>
Expand Down

0 comments on commit f73b3d6

Please sign in to comment.