feat(HMS-3566) V2Wizrd: fix titles at aws step

This commit is contained in:
mgold1234 2024-02-08 19:12:08 +02:00 committed by Klara Simickova
parent 2004b921f0
commit 07cfaf2ccf
2 changed files with 18 additions and 13 deletions

View file

@ -5,6 +5,7 @@ import {
HelperText,
HelperTextItem,
TextInput,
FormGroup,
} from '@patternfly/react-core';
import { useAppSelector } from '../../../../../store/hooks';
@ -23,13 +24,15 @@ export const AwsAccountId = () => {
return (
<>
<TextInput
readOnlyVariant="default"
isRequired
id="aws-account-id"
value={source && data ? data.aws?.account_id : ''}
aria-label="aws account id"
/>
<FormGroup label="Associated Account ID" isRequired>
<TextInput
readOnlyVariant="default"
isRequired
id="aws-account-id"
value={source && data ? data.aws?.account_id : ''}
aria-label="aws account id"
/>
</FormGroup>
<HelperText>
<HelperTextItem component="div" variant="indeterminate">
This is the account associated with the source.

View file

@ -104,12 +104,14 @@ const Aws = () => {
<SourcesButton />
<Gallery hasGutter>
<GalleryItem>
<TextInput
readOnlyVariant="default"
isRequired
id="someid"
value="us-east-1"
/>
<FormGroup label="Default Region" isRequired>
<TextInput
readOnlyVariant="default"
isRequired
id="someid"
value="us-east-1"
/>
</FormGroup>
<HelperText>
<HelperTextItem component="div" variant="indeterminate">
Images are built in the default region but can be copied to