Removed enter to submit detail page. Added filtering for jobs lines.

This commit is contained in:
Patrick Fic
2020-01-30 18:24:24 -08:00
parent 24fc50826c
commit d9f351afe6
5 changed files with 123 additions and 83 deletions

View File

@@ -18,7 +18,7 @@ export default function JobsDetailHeader({
job,
mutationConvertJob,
refetch,
getFieldDecorator
handleSubmit
}) {
const { t } = useTranslation();
@@ -76,7 +76,12 @@ export default function JobsDetailHeader({
>
{t("jobs.actions.convert")}
</Button>,
<Button type="primary" key="submit" htmlType="submit">
<Button
type="primary"
key="submit"
htmlType="button"
onClick={handleSubmit}
>
{t("general.labels.save")}
</Button>
];