Fixed scaling of images. Fixed server.js issues for production
This commit is contained in:
@@ -10,8 +10,7 @@ export default function JobDetailCardsCustomerComponent({ loading, data }) {
|
||||
<CardTemplate
|
||||
loading={loading}
|
||||
title={t("jobs.labels.cards.customer")}
|
||||
extraLink={data?.owner ? `/manage/owners/${data?.owner?.id}` : null}
|
||||
>
|
||||
extraLink={data?.owner ? `/manage/owners/${data?.owner?.id}` : null}>
|
||||
{data ? (
|
||||
<span>
|
||||
<div>{`${data?.pit_owner_first_name ??
|
||||
@@ -25,7 +24,7 @@ export default function JobDetailCardsCustomerComponent({ loading, data }) {
|
||||
</a>
|
||||
) : null}
|
||||
|
||||
<div>{`${data?.owner.preferred_contact ?? ""}`}</div>
|
||||
<div>{`${data?.owner?.preferred_contact ?? ""}`}</div>
|
||||
</span>
|
||||
) : null}
|
||||
</CardTemplate>
|
||||
|
||||
Reference in New Issue
Block a user