watched cases and view all

This commit is contained in:
2024-02-05 15:26:13 +00:00
parent 1e1b97f2a9
commit 12d1fbc55e
15 changed files with 57 additions and 40 deletions
+5 -8
View File
@@ -124,14 +124,12 @@ const ViewAllResults = (props) => {
resultsArr[key].pinswg_appealcasetype,
"repDetails":
currentView.viewKey ==
"myRepresentations" &&
resultsArr[key],
"myRepresentations" && resultsArr[key],
});
}}>
}}
>
<span className="results-visually-hidden">
{t("search:searchresults-case-reference-label")}
:
{t("search:searchresults-case-reference-label")}:
</span>
{currentView.viewKey != "watchedCases"
? currentView.viewKey == "myRepresentations"
@@ -140,7 +138,6 @@ const ViewAllResults = (props) => {
: resultsArr[key][
"_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
]}
</Link>
</dd>
<dd className="govuk-summary-list__value govuk-!-font-size-16">
@@ -528,7 +525,7 @@ const ViewAllResults = (props) => {
<div className="govuk-grid-column-full">
<div className="govuk-button-group">
<a
onClick={() => router.back()}
onClick={() => router.replace("/myportal")}
className="govuk-button"
>
Back