mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-04-07 01:31:56 -04:00
Fix genres & studios links
This commit is contained in:
parent
4d64cbaf5d
commit
5b4177f34d
@ -123,7 +123,7 @@ export const ItemDetails = ({
|
||||
<Chip
|
||||
key={x ?? i}
|
||||
label={t(`genres.${x}`)}
|
||||
href={`/genres/${x}`}
|
||||
href={`/browse?filter=genres has ${x}`}
|
||||
size="small"
|
||||
className="mx-1"
|
||||
/>
|
||||
|
||||
@ -401,7 +401,9 @@ const Description = ({
|
||||
<UL className="flex-1 flex-wrap max-sm:flex-row max-sm:items-center max-sm:text-center">
|
||||
{genres.map((genre) => (
|
||||
<LI key={genre}>
|
||||
<A href={`/genres/${genre.toLowerCase()}`}>
|
||||
<A
|
||||
href={`/browse?filter=genres has ${genre.toLowerCase()}`}
|
||||
>
|
||||
{t(`genres.${genre}`)}
|
||||
</A>
|
||||
</LI>
|
||||
@ -435,7 +437,7 @@ const Description = ({
|
||||
{studios.map((x, i) => (
|
||||
<Fragment key={x.id}>
|
||||
{i !== 0 && ","}
|
||||
<A href={x.slug} className="ml-2">
|
||||
<A href={`/browse?filter=studios has ${x.slug}`} className="ml-2">
|
||||
{x.name}
|
||||
</A>
|
||||
</Fragment>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user