welsh downloadable new appeal form
This commit is contained in:
@@ -158,6 +158,7 @@ let BuildCheckSection = (props) => {
|
||||
);
|
||||
|
||||
pdfObj.filesList = uniqueArray;
|
||||
pdfObj.locale = locale;
|
||||
|
||||
confirmSections
|
||||
? (setFinaliseAppealProcess(true),
|
||||
@@ -186,6 +187,9 @@ let BuildCheckSection = (props) => {
|
||||
};
|
||||
|
||||
const triggerAppealDownload = async () => {
|
||||
if (!downloadAppealForm) {
|
||||
return;
|
||||
}
|
||||
if (downloadInProgress) {
|
||||
return;
|
||||
}
|
||||
@@ -199,8 +203,7 @@ let BuildCheckSection = (props) => {
|
||||
);
|
||||
|
||||
pdfObj.filesList = uniqueArray;
|
||||
|
||||
console.log(pdfObj);
|
||||
pdfObj.locale = locale;
|
||||
|
||||
const containerID =
|
||||
props.accountDetails?.containerID ||
|
||||
@@ -442,10 +445,9 @@ let BuildCheckSection = (props) => {
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<a
|
||||
disabled={
|
||||
confirmSections ? false : true
|
||||
}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!confirmSections}
|
||||
className="govuk-button"
|
||||
data-module="govuk-button"
|
||||
onClick={async () => {
|
||||
@@ -454,7 +456,7 @@ let BuildCheckSection = (props) => {
|
||||
}}
|
||||
>
|
||||
{t("newappeal:submit-appeal-button")}
|
||||
</a>
|
||||
</button>
|
||||
<a
|
||||
className="govuk-link"
|
||||
href="#"
|
||||
|
||||
Reference in New Issue
Block a user