removed unused imports & watch case on adv search

This commit is contained in:
2022-01-20 10:31:53 +00:00
parent ab45a5fc77
commit f0b69141d4
76 changed files with 458 additions and 636 deletions
+2 -2
View File
@@ -305,8 +305,8 @@ let AdvancedSearch = (props) => {
router.replace(
(router.locale == "cy"
? "/canlyniadauchwiliouwch"
: "/advancedsearchresults") + searchString,
? "/fymhorth/canlyniadauchwiliouwch"
: "/myportal/advancedsearchresults") + searchString,
null,
{
shallow: true,
+4 -4
View File
@@ -174,7 +174,7 @@ const SearchResults = (props) => {
<dd className="govuk-summary-list__key govuk-!-font-size-16">
{t("search:searchresults-status-label")}
</dd>
{myportal == "true" && (
{myportal == true && (
<dd className="govuk-summary-list__key govuk-!-font-size-16 govuk-summary-list__action"></dd>
)}
</div>
@@ -191,10 +191,10 @@ const SearchResults = (props) => {
<Link
href={
router.locale == "cy"
? myportal == "true"
? myportal == true
? "/fymhorth/achos"
: "/achos"
: myportal == "true"
: myportal == true
? "/myportal/case"
: "/case"
}
@@ -368,7 +368,7 @@ const SearchResults = (props) => {
"statuscode@OData.Community.Display.V1.FormattedValue"
] || "N/A"}
</dd>
{myportal == "true" && (
{myportal == true && (
<dd className="govuk-summary-list__value govuk-!-font-size-14 govuk-summary-list__action">
{isWatchedCase(item.incidentid).length >
0 ==