IO-814 Global Search Changes

This commit is contained in:
Patrick Fic
2021-03-31 14:35:58 -07:00
parent 79fc39b964
commit 3c7ce84be2
4 changed files with 56 additions and 54 deletions

View File

@@ -109,7 +109,7 @@ export function JobsDetailHeader({ job, bodyshop }) {
</Link>
</Col>
<Col {...colSpan}>
<Link to={`/manage/vehicles/${job.vehicle.id}`}>
<Link to={job.vehicle && `/manage/vehicles/${job.vehicle.id}`}>
<Card
className="ant-card-grid-hoverable"
style={{ height: "100%" }}