CreateImageWizard: only display Image name review field when it exists
This commit is contained in:
parent
dc0789dce3
commit
80918f97e4
2 changed files with 9 additions and 4 deletions
|
|
@ -97,10 +97,14 @@ const ReviewStep = () => {
|
|||
</Text>
|
||||
<DescriptionList isCompact isHorizontal>
|
||||
<DescriptionListGroup>
|
||||
<DescriptionListTerm>Image name</DescriptionListTerm>
|
||||
<DescriptionListDescription>
|
||||
{getState()?.values?.['image-name']}
|
||||
</DescriptionListDescription>
|
||||
{getState()?.values?.['image-name'] &&
|
||||
<>
|
||||
<DescriptionListTerm>Image name</DescriptionListTerm>
|
||||
<DescriptionListDescription>
|
||||
{getState()?.values?.['image-name']}
|
||||
</DescriptionListDescription>
|
||||
</>
|
||||
}
|
||||
<DescriptionListTerm>Release</DescriptionListTerm>
|
||||
<DescriptionListDescription>
|
||||
{releaseValues?.[getState()?.values?.release]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue