feat: add initial recommendation data
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user