IO-2599 Remove Space and put Div in to space components
This commit is contained in:
@@ -105,13 +105,13 @@ export function ProductionListDetail({
|
|||||||
{error && <AlertComponent error={JSON.stringify(error)} />}
|
{error && <AlertComponent error={JSON.stringify(error)} />}
|
||||||
{!loading && data && (
|
{!loading && data && (
|
||||||
<div>
|
<div>
|
||||||
<Space direction="vertical">
|
|
||||||
<CardTemplate
|
<CardTemplate
|
||||||
title={t("jobs.labels.employeeassignments")}
|
title={t("jobs.labels.employeeassignments")}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
>
|
>
|
||||||
<JobEmployeeAssignments job={data.jobs_by_pk} refetch={refetch} />
|
<JobEmployeeAssignments job={data.jobs_by_pk} refetch={refetch} />
|
||||||
</CardTemplate>
|
</CardTemplate>
|
||||||
|
<div style={{ height: "8px" }} />
|
||||||
<Descriptions bordered column={1}>
|
<Descriptions bordered column={1}>
|
||||||
<Descriptions.Item label={t("jobs.fields.ro_number")}>
|
<Descriptions.Item label={t("jobs.fields.ro_number")}>
|
||||||
{theJob.ro_number || ""}
|
{theJob.ro_number || ""}
|
||||||
@@ -169,21 +169,25 @@ export function ProductionListDetail({
|
|||||||
<DateFormatter>{theJob.scheduled_completion}</DateFormatter>
|
<DateFormatter>{theJob.scheduled_completion}</DateFormatter>
|
||||||
</Descriptions.Item>
|
</Descriptions.Item>
|
||||||
</Descriptions>
|
</Descriptions>
|
||||||
|
<div style={{ height: "8px" }} />
|
||||||
<JobDetailCardsPartsComponent
|
<JobDetailCardsPartsComponent
|
||||||
loading={loading}
|
loading={loading}
|
||||||
data={data ? data.jobs_by_pk : null}
|
data={data ? data.jobs_by_pk : null}
|
||||||
/>
|
/>
|
||||||
|
<div style={{ height: "8px" }} />
|
||||||
<JobDetailCardsNotesComponent
|
<JobDetailCardsNotesComponent
|
||||||
loading={loading}
|
loading={loading}
|
||||||
data={data ? data.jobs_by_pk : null}
|
data={data ? data.jobs_by_pk : null}
|
||||||
/>
|
/>
|
||||||
{!bodyshop.uselocalmediaserver && (
|
{!bodyshop.uselocalmediaserver && (
|
||||||
|
<>
|
||||||
|
<div style={{ height: "8px" }} />
|
||||||
<JobDetailCardsDocumentsComponent
|
<JobDetailCardsDocumentsComponent
|
||||||
loading={loading}
|
loading={loading}
|
||||||
data={data ? data.jobs_by_pk : null}
|
data={data ? data.jobs_by_pk : null}
|
||||||
/>
|
/>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</Space>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
|||||||
Reference in New Issue
Block a user