uat defect 115

This commit is contained in:
2025-01-14 10:57:09 +00:00
parent 681c89d50a
commit 9ffbe49777
2 changed files with 40 additions and 29 deletions
+35 -28
View File
@@ -302,35 +302,41 @@ let BuildCheckRow = (props) => {
"undefined" &&
props.props.form["appealForm"].values[
datafieldname[0].value
].map((tenant, index) => {
console.log(
typeof tenant.pinswg_owners
);
return typeof tenant.pinswg_owners !=
"undefined" ||
typeof tenant.pinswg_agriculturaltenantname !=
"undefined" ? (
<div
key={index}
style={{
display: "flex",
}}
>
<div className="govuk-!-width-one-half">
{tenant.pinswg_agriculturaltenantname ||
tenant.pinswg_owners}
] != null ? (
props.props.form["appealForm"].values[
datafieldname[0].value
].map((tenant, index) => {
console.log(
typeof tenant.pinswg_owners
);
return typeof tenant.pinswg_owners !=
"undefined" ||
typeof tenant.pinswg_agriculturaltenantname !=
"undefined" ? (
<div
key={index}
style={{
display: "flex",
}}
>
<div className="govuk-!-width-one-half">
{tenant.pinswg_agriculturaltenantname ||
tenant.pinswg_owners}
</div>
<div className="govuk-!-width-one-half">
Served:{" "}
{formatDate(
tenant.dateserved
)}
</div>
</div>
<div className="govuk-!-width-one-half">
Served:{" "}
{formatDate(
tenant.dateserved
)}
</div>
</div>
) : (
""
);
})
) : (
""
);
})
) : (
"N/A"
)
) : (
props.props.form["appealForm"].values[
datafieldname[0].value
@@ -358,6 +364,7 @@ let BuildCheckRow = (props) => {
</dd>
</div>
);
// }
}
})}