update prettyier

This commit is contained in:
John Mitchell
2020-02-19 14:58:20 -05:00
parent 42387166bf
commit 9253f16e36
3 changed files with 11 additions and 6 deletions

View File

@@ -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);

View File

@@ -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]} />;
}

View File

@@ -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}