sendemail function for gov notify

This commit is contained in:
2022-11-17 13:16:57 +00:00
parent b0a9b721a3
commit 6fe3fc51a6
9 changed files with 100 additions and 54 deletions
+14 -5
View File
@@ -139,9 +139,9 @@ let BuildCheckSection = (props) => {
</dl>
<dl className="govuk-summary-list govuk-!-margin-bottom-9 at-summary-list">
<div className="govuk-summary-list__row" key={"9999"}>
<dt>
{_.has(props.props.appealType.fileList.files) &&
props.props.appealType.fileList.files.length > 0
<dt className="govuk-summary-list__key">
{props.props.appealType.fileList.files.length >
0
? props.props.appealType.fileList.files.map(
(blob, i) => (
<div
@@ -152,12 +152,21 @@ let BuildCheckSection = (props) => {
src={getThumbnailIconByExtension(
blob.name
)}
alt={blob.name}
alt={blob.name.slice(
blob.name.indexOf(
"_"
) + 1
)}
width="50"
/>
<span className="govuk-body govuk-!-font-size-14 govuk-!-padding-left-5">
{blob.name} (
{blob.name.slice(
blob.name.indexOf(
"_"
) + 1
)}
(
{bytesToSize(
blob.contentLength
)}