watch icon showing incorrectly

This commit is contained in:
2022-10-10 09:29:42 +01:00
parent 4aced9af69
commit a704e4a828
4 changed files with 32 additions and 49 deletions
+2 -1
View File
@@ -61,6 +61,7 @@ const SearchResults = (props) => {
setWatchedCasesDetails,
isLinkedCase,
setCurrentPage,
showLoginCheck,
} = props;
let { t } = useTranslation();
@@ -533,7 +534,7 @@ const SearchResults = (props) => {
)}
</dd>
)}
{!session && (
{showLoginCheck == "true" && !session && (
<dd>
<span
className="govuk-summary-list__actionLink watchLink"
+2
View File
@@ -14,6 +14,7 @@ export default function Search(props) {
myportal,
watchedCases,
isLinkedCase,
showLoginCheck,
} = props;
let { t } = useTranslation();
@@ -50,6 +51,7 @@ export default function Search(props) {
myportal={myportal}
watchedCases={watchedCases}
isLinkedCase={isLinkedCase}
showLoginCheck
/>
</div>
</div>