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