+11
-19
@@ -202,6 +202,10 @@ const CaseSummary = (props) => {
|
||||
return isEmail;
|
||||
};
|
||||
|
||||
const primaryId = getFormCollectionByID(
|
||||
appealTypeID || setCaseQueryObj.value[0].pinswg_appealcasetype
|
||||
).PrimaryIdAttribute;
|
||||
|
||||
const deleteItem = (caseID, topThreeType) => {
|
||||
let cookies = parseCookies();
|
||||
topThreeType == "watchedCases" &&
|
||||
@@ -603,28 +607,16 @@ const CaseSummary = (props) => {
|
||||
<dl className="govuk-summary-list govuk-!-margin-bottom-9">
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{getFormCollectionByID(
|
||||
appealTypeID ||
|
||||
setCaseQueryObj.value[0]
|
||||
.pinswg_appealcasetype
|
||||
).PrimaryIdAttribute ==
|
||||
"pinswg_dnsid"
|
||||
{primaryId === "pinswg_dnsid" ||
|
||||
primaryId ===
|
||||
"pinswg_nonvalidationid" ||
|
||||
primaryId === "pinswg_sipscase"
|
||||
? t(
|
||||
"case:summary-applicantonly-label"
|
||||
)
|
||||
: getFormCollectionByID(
|
||||
appealTypeID ||
|
||||
setCaseQueryObj
|
||||
.value[0]
|
||||
.pinswg_appealcasetype
|
||||
).PrimaryIdAttribute ==
|
||||
"pinswg_nonvalidationid"
|
||||
? t(
|
||||
"case:summary-appellantonly-label"
|
||||
)
|
||||
: t(
|
||||
"case:summary-applicant-label"
|
||||
)}
|
||||
: t(
|
||||
"case:summary-appellantonly-label"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{casesObj.pinswg_appellantagent ==
|
||||
|
||||
Reference in New Issue
Block a user