diff --git a/components/search/searchresults.js b/components/search/searchresults.js index 5d0f90d4..5fa56b46 100644 --- a/components/search/searchresults.js +++ b/components/search/searchresults.js @@ -61,6 +61,7 @@ const SearchResults = (props) => { setWatchedCasesDetails, isLinkedCase, setCurrentPage, + showLoginCheck, } = props; let { t } = useTranslation(); @@ -533,7 +534,7 @@ const SearchResults = (props) => { )} )} - {!session && ( + {showLoginCheck == "true" && !session && (
diff --git a/pages/searchresults.js b/pages/searchresults.js index a853cb8b..b0680248 100644 --- a/pages/searchresults.js +++ b/pages/searchresults.js @@ -106,6 +106,7 @@ const Home = (props) => { searchString={props.search.searchString} searchResultsObj={props.searchResultsObj} isLinkedCase={isLinkedCase} + showLoginCheck />