IO-43 Resolve issue when no vehicle associated.

This commit is contained in:
Patrick Fic
2021-09-14 09:40:08 -07:00
parent 17f4d69e30
commit 82fb4fc74c

View File

@@ -3,6 +3,7 @@ import React from "react";
import { Link } from "react-router-dom";
export default function JobsRelatedRos({ jobid, job }) {
if (!(job && job.vehicle && job.vehicle.jobs)) return null;
return (
<Space wrap>
{job.vehicle.jobs