From a704e4a828945e3441e5c38f49e6f43793b86a02 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 10 Oct 2022 09:29:42 +0100 Subject: [PATCH] watch icon showing incorrectly --- components/search/searchresults.js | 3 +- components/searchresults.js | 2 + pages/searchresults.js | 7 ++- styles/sass/welshgov/_application.scss | 69 ++++++++------------------ 4 files changed, 32 insertions(+), 49 deletions(-) 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 />