Merged PR 1113: updated pdf for tenants array

updated pdf for tenants array

Related work items: #10708
This commit is contained in:
Robert Bond
2024-03-28 10:02:30 +00:00
+12 -4
View File
@@ -464,12 +464,19 @@ export const AppealRow_pdf = (props) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
{props.props[ {props.props.hasOwnProperty(
datafieldname[0].value datafieldname[0].value
].map((tenant, index) => { ) &&
props.props[
datafieldname[0]
.value
].map(
(tenant, index) => {
return ( return (
<View <View
key={index} key={
index
}
style={{ style={{
flexDirection: flexDirection:
"row", "row",
@@ -501,7 +508,8 @@ export const AppealRow_pdf = (props) => {
</Text> </Text>
</View> </View>
); );
})} }
)}
</View> </View>
</View> </View>
</View> </View>