- Fix for job line null check

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-02-05 11:35:24 -05:00
parent 6b0c211084
commit 498292c2ec
3 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ export function JobsDetailHeader({ job, bodyshop, disabled }) {
{job.alt_transport}
<JobAltTransportChange job={job} />
</DataLabel>
{job.cccontracts.length > 0 && (
{job?.cccontracts?.length > 0 && (
<DataLabel label={t("jobs.labels.contracts")}>
{job.cccontracts.map((c) => (
<Link