feat: add initial recommendation data

This commit is contained in:
2023-09-08 13:33:29 +02:00
parent 517b1ba23d
commit cc112b7554
19 changed files with 289 additions and 170 deletions

View File

@ -71,7 +71,7 @@ export const SearchResultItem = (
) => {
const doc = item.document;
const resourceType = resources[doc.type];
const href = (resourceType) ? `${resourceType.link}/${doc.id}` : "";
const href = resourceType ? `${resourceType.link}/${doc.id}` : "";
return (
<a
href={href}