diff --git a/components/pdftemplates/appealRow_pdf.js b/components/pdftemplates/appealRow_pdf.js index 0daf50c1..fed7f759 100644 --- a/components/pdftemplates/appealRow_pdf.js +++ b/components/pdftemplates/appealRow_pdf.js @@ -464,44 +464,52 @@ export const AppealRow_pdf = (props) => { marginBottom: 10, }} > - {props.props[ + {props.props.hasOwnProperty( datafieldname[0].value - ].map((tenant, index) => { - return ( - - - { - tenant.pinswg_agriculturaltenantname - } - + ) && + props.props[ + datafieldname[0] + .value + ].map( + (tenant, index) => { + return ( + + + { + tenant.pinswg_agriculturaltenantname + } + - - Notice - served:{" "} - {formatDate( - tenant.dateserved - )} - - - ); - })} + + Notice + served:{" "} + {formatDate( + tenant.dateserved + )} + + + ); + } + )}