mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
fix conflict
This commit is contained in:
@@ -101,34 +101,6 @@ function UserFormFields({ user, i18n }) {
|
|||||||
type="text"
|
type="text"
|
||||||
/>
|
/>
|
||||||
{!user.id && (
|
{!user.id && (
|
||||||
<<<<<<< HEAD
|
|
||||||
<OrganizationLookup
|
|
||||||
helperTextInvalid={organizationMeta.error}
|
|
||||||
isValid={!organizationMeta.touched || !organizationMeta.error}
|
|
||||||
onBlur={() => organizationHelpers.setTouched()}
|
|
||||||
onChange={value => {
|
|
||||||
organizationHelpers.setValue(value.id);
|
|
||||||
setOrganization(value);
|
|
||||||
}}
|
|
||||||
value={organization}
|
|
||||||
required
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
<FormGroup
|
|
||||||
fieldId="user-type"
|
|
||||||
helperTextInvalid={userTypeMeta.error}
|
|
||||||
isRequired
|
|
||||||
isValid={!userTypeMeta.touched || !userTypeMeta.error}
|
|
||||||
label={i18n._(t`User Type`)}
|
|
||||||
>
|
|
||||||
<AnsibleSelect
|
|
||||||
isValid={!userTypeMeta.touched || !userTypeMeta.error}
|
|
||||||
id="user-type"
|
|
||||||
data={userTypeOptions}
|
|
||||||
{...userTypeField}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
=======
|
|
||||||
<OrganizationLookup
|
<OrganizationLookup
|
||||||
helperTextInvalid={organizationMeta.error}
|
helperTextInvalid={organizationMeta.error}
|
||||||
isValid={!organizationMeta.touched || !organizationMeta.error}
|
isValid={!organizationMeta.touched || !organizationMeta.error}
|
||||||
@@ -155,7 +127,6 @@ function UserFormFields({ user, i18n }) {
|
|||||||
{...userTypeField}
|
{...userTypeField}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
>>>>>>> update forms from FormRow to using FormLayout components
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user