linked case now link to show them

This commit is contained in:
2021-12-08 09:47:10 +00:00
parent e1d5ea6870
commit a8442a43f0
8 changed files with 70 additions and 51 deletions
+7 -15
View File
@@ -601,23 +601,15 @@ const CaseSummary = (props) => {
<Link
href={
router.locale == "cy"
? "/achos"
: "/case"
? "/canlyniadauchwilio?q=" +
item.title +
"&lk=1"
: "/searchresults?q=" +
item.title +
"&lk=1"
}
>
<a
onClick={() => {
setCurrentReference({
"currentReference": item.title,
"currentType":
"searchResultsObj",
"incidentid": item.incidentid,
});
}}
className=""
>
{item.title}
</a>
<a className="">{item.title}</a>
</Link>
</li>
);