update create appeal and pinsuser cookie

This commit is contained in:
2021-11-02 11:40:11 +00:00
parent 80860d68a9
commit b790228454
19 changed files with 138 additions and 110 deletions
+8 -1
View File
@@ -37,6 +37,7 @@ const SearchResults = (props) => {
setSearchResults,
setSearchDetails,
advancedSearch,
myportal,
} = props;
let { t } = useTranslation();
@@ -84,6 +85,7 @@ const SearchResults = (props) => {
"$..value[?(@.pinswg_name=='" + item.title + "')]"
);
detailsObj = detailsObj[0];
console.log(props.myportal);
return (
<div className="govuk-summary-list__row" key={key}>
@@ -91,7 +93,11 @@ const SearchResults = (props) => {
<Link
href={
router.locale == "cy"
? "/achos"
? myportal == "true"
? "/fymhorth/achos"
: "/achos"
: myportal == "true"
? "/myportal/case"
: "/case"
}
>
@@ -109,6 +115,7 @@ const SearchResults = (props) => {
});
}}
>
mm
<span className="results-visually-hidden">
{t(
"search:searchresults-case-reference-label"