view all updates for reps

This commit is contained in:
2023-11-08 09:03:34 +00:00
parent 08552da757
commit e7afa582ff
7 changed files with 123 additions and 98 deletions
+8 -8
View File
@@ -98,9 +98,9 @@ let BuildCheckSection = (props) => {
<dl className="govuk-summary-list govuk-!-margin-bottom-9 at-summary-list">
<div className="govuk-summary-list__row" key={"9999"}>
<dt className="govuk-summary-list__key">
{props.props.appealType.fileList.files.length >
{props.props.appealType.fileList.value.length >
0
? props.props.appealType.fileList.files.map(
? props.props.appealType.fileList.value.map(
(blob, i) => (
<div
key={blob.name + "_" + i}
@@ -108,10 +108,10 @@ let BuildCheckSection = (props) => {
>
<img
src={getThumbnailIconByExtension(
blob.name
blob[i].name
)}
alt={blob.name.slice(
blob.name.indexOf(
alt={blob[i].name.slice(
blob[i].name.indexOf(
"_"
) + 1
)}
@@ -119,14 +119,14 @@ let BuildCheckSection = (props) => {
/>
<span className="govuk-body govuk-!-font-size-14 govuk-!-padding-left-5">
{blob.name.slice(
blob.name.indexOf(
{blob[i].name.slice(
blob[i].name.indexOf(
"_"
) + 1
)}
(
{bytesToSize(
blob.contentLength
blob[i].contentLength
)}
)
</span>