files object display

This commit is contained in:
2022-07-19 11:52:50 +01:00
parent 31738d38fa
commit f8ab5c1528
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1064,7 +1064,7 @@ export function NumericField(props) {
(showIfHasParentShowValue == parentField) != false &&
showIfHasParentShowValue;
console.log("parentField:", parentField, showIfHasParentShowValue);
//console.log("parentField:", parentField, showIfHasParentShowValue);
return (
<>
@@ -1133,7 +1133,7 @@ export function DecimalField(props) {
(showIfHasParentShowValue == parentField) != false &&
showIfHasParentShowValue;
console.log("parentField:", parentField, showIfHasParentShowValue);
//console.log("parentField:", parentField, showIfHasParentShowValue);
return (
<>
+2 -2
View File
@@ -140,8 +140,8 @@ let BuildCheckSection = (props) => {
<dl className="govuk-summary-list govuk-!-margin-bottom-9 at-summary-list">
<div className="govuk-summary-list__row" key={"9999"}>
<dt>
{props.props.appealType.fileList.files.length >
0
{_.has(props.props.appealType.fileList.files) &&
props.props.appealType.fileList.files.length > 0
? props.props.appealType.fileList.files.map(
(blob, i) => (
<div