Saving progress spinner and language updates

This commit is contained in:
2022-10-04 10:24:49 +01:00
parent 683e3b5814
commit 7cd7ab78aa
21 changed files with 326 additions and 75 deletions
@@ -43,12 +43,11 @@ const AwaitingSubmissionFromBlob = (props) => {
});
};
let topThreeOnlyArr = showTopThreeArr;
console.log(showTopThreeArr);
let topThreeOnlyArr = showTopThreeArr.slice(0, 3);
//console.log(showTopThreeArr);
Object.keys(topThreeOnlyArr).map((key, index) => {
console.log(key, showTopThreeArr[key].pinswg_appealcasetype);
console.log("subsssss:", showTopThreeArr[key]);
//console.log(key, showTopThreeArr[key].pinswg_appealcasetype);
//console.log("subsssss:", showTopThreeArr[key]);
let urlname = getFormCollectionByID(
showTopThreeArr[key].pinswg_appealcasetype
).UrlName;
@@ -103,7 +102,7 @@ const AwaitingSubmissionFromBlob = (props) => {
</Link>
</div>
<div>
<b>Appeal type:</b>{" "}
<b>{t("myportal:appeal-type-label")}:</b>{" "}
{
getFormCollectionByID(
showTopThreeArr[key].pinswg_appealcasetype
@@ -141,7 +140,9 @@ const AwaitingSubmissionFromBlob = (props) => {
{showTopThreeArrDets[key].pinswg_appellantagent != null && (
<div>
{showTopThreeArrDets[key].pinswg_appellantagent !=
846040000 && <b>Raised by: </b>}
846040000 && (
<b>{t("myportal:raised-by-label")}: </b>
)}
{showTopThreeArrDets[key].pinswg_appellantagent !=
846040000 &&
(showTopThreeArrDets[key]
@@ -158,7 +159,7 @@ const AwaitingSubmissionFromBlob = (props) => {
{showTopThreeArrDets[key].pinswg_appellantfirstname !=
null && (
<div>
<b>On behalf of: </b>
<b>{t("myportal:on-behalf-of-label")}: </b>
{showTopThreeArrDets[key]
.pinswg_appellantfirstname +
" " +
@@ -220,7 +221,7 @@ const AwaitingSubmissionFromBlob = (props) => {
onClick={() => {
setCurrentView({
"viewName": "Awaiting Submission",
"viewKey": "awaitingSubmission",
"viewKey": "awaitingSubmissionDetails",
});
}}
>