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 -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,
},
}}