Add href to news episode items

This commit is contained in:
Zoe Roux 2023-10-31 21:13:12 +01:00
parent 377d85c7f1
commit 1698de332c
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ export const NewsList = () => {
} }
overview={x.name} overview={x.name}
thumbnail={x.thumbnail} thumbnail={x.thumbnail}
href={x.href}
// TODO: support this on mobile too // TODO: support this on mobile too
// @ts-expect-error This is a web only property // @ts-expect-error This is a web only property
{...css({ gridColumnEnd: "span 2" })} {...css({ gridColumnEnd: "span 2" })}

View File

@ -61,6 +61,7 @@ export const SearchPage: QueryPage<{ q?: string }> = ({ q }) => {
query={query(q, sortKey, sortOrd)} query={query(q, sortKey, sortOrd)}
placeholderCount={15} placeholderCount={15}
layout={LayoutComponent.layout} layout={LayoutComponent.layout}
empty={t("search.empty")}
Header={ Header={
<BrowseSettings <BrowseSettings
availableSorts={Object.values(SearchSort)} availableSorts={Object.values(SearchSort)}