mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
update prettyier
This commit is contained in:
@@ -23,7 +23,8 @@ const DetailValue = styled(({ fullWidth, isEncrypted, ...props }) => (
|
|||||||
`
|
`
|
||||||
grid-column: 2 / -1;
|
grid-column: 2 / -1;
|
||||||
`}
|
`}
|
||||||
${props => props.isEncrypted &&
|
${props =>
|
||||||
|
props.isEncrypted &&
|
||||||
`
|
`
|
||||||
text-transform: uppercase
|
text-transform: uppercase
|
||||||
color: var(--pf-global--Color--400);
|
color: var(--pf-global--Color--400);
|
||||||
|
|||||||
@@ -83,7 +83,14 @@ function CredentialDetail({ i18n, credential }) {
|
|||||||
);
|
);
|
||||||
} else if (inputs[id] === '$encrypted$') {
|
} else if (inputs[id] === '$encrypted$') {
|
||||||
const isEncrypted = true;
|
const isEncrypted = true;
|
||||||
detail = <Detail key={id} label={label} value={i18n._(t`Encrypted`)} isEncrypted={isEncrypted} />;
|
detail = (
|
||||||
|
<Detail
|
||||||
|
key={id}
|
||||||
|
label={label}
|
||||||
|
value={i18n._(t`Encrypted`)}
|
||||||
|
isEncrypted={isEncrypted}
|
||||||
|
/>
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
detail = <Detail key={id} label={label} value={inputs[id]} />;
|
detail = <Detail key={id} label={label} value={inputs[id]} />;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -365,10 +365,7 @@ function ProjectForm({ i18n, project, submitError, ...props }) {
|
|||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
>
|
>
|
||||||
{formik => (
|
{formik => (
|
||||||
<Form
|
<Form autoComplete="off" onSubmit={formik.handleSubmit}>
|
||||||
autoComplete="off"
|
|
||||||
onSubmit={formik.handleSubmit}
|
|
||||||
>
|
|
||||||
<FormColumnLayout>
|
<FormColumnLayout>
|
||||||
<ProjectFormFields
|
<ProjectFormFields
|
||||||
project_base_dir={project_base_dir}
|
project_base_dir={project_base_dir}
|
||||||
|
|||||||
Reference in New Issue
Block a user