watched cases and view all
This commit is contained in:
@@ -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 && (
|
||||
|
||||
-1
@@ -999,7 +999,6 @@ let S78_Questionnaire = (props) => {
|
||||
dateEnd="1-y"
|
||||
locale={locale}
|
||||
/>
|
||||
ss
|
||||
</fieldset>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user