diff --git a/client/src/components/data-label/data-label.component.jsx b/client/src/components/data-label/data-label.component.jsx
index c574600a6..5fa657754 100644
--- a/client/src/components/data-label/data-label.component.jsx
+++ b/client/src/components/data-label/data-label.component.jsx
@@ -13,31 +13,32 @@ export default function DataLabel({
if (!open || (hideIfNull && !children)) return null;
return (
-
+
{`${label}:`}
+
- {typeof children === "string" ? (
- {children}
- ) : (
- children
- )}
+ {typeof children === "string" ? {children} : children}
);
diff --git a/client/src/components/jobs-change-status/jobs-change-status.component.jsx b/client/src/components/jobs-change-status/jobs-change-status.component.jsx
index c74a6dec9..22c65e459 100644
--- a/client/src/components/jobs-change-status/jobs-change-status.component.jsx
+++ b/client/src/components/jobs-change-status/jobs-change-status.component.jsx
@@ -86,10 +86,10 @@ export function JobsChangeStatus({ job, bodyshop, jobRO, insertAuditTrail, isPar
const statusMenu = {
items: [
- ...availableStatuses.map((item) => ({
+ ...(availableStatuses?.map((item) => ({
key: item,
label: item
- }))
+ })) ?? [])
],
onClick: (e) => updateJobStatus(e.key)
};
diff --git a/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx b/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx
index 2bfddb369..0b05d66be 100644
--- a/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx
+++ b/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx
@@ -65,8 +65,8 @@ export function JobsDetailHeader({ job, bodyshop, disabled, insertAuditTrail, is
const colSpan = {
xs: { span: 24 },
sm: { span: 24 },
- md: { span: isPartsEntry ? 8 : 12 },
- lg: { span: isPartsEntry ? 8 : 6 },
+ md: { span: 12 },
+ lg: { span: 12 },
xl: { span: isPartsEntry ? 8 : 6 }
};
@@ -260,19 +260,19 @@ export function JobsDetailHeader({ job, bodyshop, disabled, insertAuditTrail, is
)}
-
+
{disabled || isPartsEntry ? (
{job.ownr_ph2}
) : (
)}
-
+
{`${job.ownr_addr1 || ""} ${job.ownr_addr2 || ""} ${
job.ownr_city || ""
} ${job.ownr_st || ""} ${job.ownr_zip || ""}`}
-
+
{disabled || isPartsEntry ? (
<>{job.ownr_ea || ""}>
) : job.ownr_ea ? (
@@ -280,13 +280,14 @@ export function JobsDetailHeader({ job, bodyshop, disabled, insertAuditTrail, is
) : null}
{job.owner?.tax_number && (
-
+
{job.owner?.tax_number || ""}
)}
{job.owner?.note || ""}