diff --git a/components/case/representation/representationElements.js b/components/case/representation/representationElements.js index 767f7ab3..10e5e7bf 100644 --- a/components/case/representation/representationElements.js +++ b/components/case/representation/representationElements.js @@ -912,7 +912,7 @@ export const RenderFileUpload = (field) => { return URL.createObjectURL(fileObj); break; default: - return "/assets/images/documenttypes/txt.png"; + return "/assets/images/documenttypes/default.png"; break; } }; diff --git a/components/elements/index.js b/components/elements/index.js index c13f29cb..42284bde 100644 --- a/components/elements/index.js +++ b/components/elements/index.js @@ -1855,7 +1855,7 @@ const RenderFileUpload = (field) => { return URL.createObjectURL(fileObj); break; default: - return "/assets/images/documenttypes/txt.png"; + return "/assets/images/documenttypes/default.png"; break; } }; diff --git a/components/newappeal/buildcheckrow.js b/components/newappeal/buildcheckrow.js index 237fe47d..cae9eee4 100644 --- a/components/newappeal/buildcheckrow.js +++ b/components/newappeal/buildcheckrow.js @@ -303,7 +303,13 @@ let BuildCheckRow = (props) => { props.props.form["appealForm"].values[ datafieldname[0].value ].map((tenant, index) => { - return ( + console.log( + typeof tenant.pinswg_owners + ); + return typeof tenant.pinswg_owners != + "undefined" || + typeof tenant.pinswg_agriculturaltenantname != + "undefined" ? (