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
@@ -20,8 +20,8 @@ const RepDetails = (props) => {
? props.myRepresentations.myRepresentations
: props.searchResultsObj.searchDetailsObj
: props.currentType == "watchedCases"
? props.props.props.watchedCases.watchedCasesDetails
: props.props.searchResultsObj.searchDetailsObj;
? props.props.props.props.watchedCases.watchedCasesDetails
: props.props.props.searchResultsObj.searchDetailsObj;
var detailsObj = {};
@@ -348,7 +348,7 @@ let RepLPA = (props) => {
className="govuk-button"
data-module="govuk-button"
>
{t("common:continue-button")}ww
{t("common:continue-button")}
</button>
// <a
// href="#"
@@ -368,7 +368,7 @@ let RepLPA = (props) => {
className="govuk-button"
data-module="govuk-button"
>
{t("common:continue-button")}ww
{t("common:continue-button")}
</button>
)}
{showQuestionnaireSection > 1 && (
@@ -999,7 +999,6 @@ let S78_Questionnaire = (props) => {
dateEnd="1-y"
locale={locale}
/>
ss
</fieldset>
)}
</>
+5 -1
View File
@@ -76,9 +76,10 @@ const CaseSummary = (props) => {
setWatchedCases,
setWatchedCasesDetails,
showMap,
currentView,
} = props;
const showLoginCheck = props.currentView.caseReference.showLoginCheck;
const showLoginCheck = currentView.showLogin;
const { data: session, status } = useSession();
//console.log("session status:", status, session);
@@ -406,6 +407,9 @@ const CaseSummary = (props) => {
currentType ==
"searchResultsObj"
? detailsObj.pinswg_name
: currentType ==
"watchedCases"
? casesObj.pinswg_title
: casesObj.reference,
},
}}