mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 00:49:40 +05:00
feat: add search filters
This commit is contained in:
parent
e985b65252
commit
4fb996353d
2 changed files with 81 additions and 24 deletions
|
@ -88,7 +88,7 @@ export const ReleaseInfoInfo = (props: {
|
|||
return (
|
||||
<div key={index} className="inline">
|
||||
{index > 0 && ", "}
|
||||
<ReleaseInfoSearchLink title={studio} searchBy={1} />
|
||||
<ReleaseInfoSearchLink title={studio} searchBy={"studio"} />
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
@ -98,14 +98,14 @@ export const ReleaseInfoInfo = (props: {
|
|||
{props.author && (
|
||||
<>
|
||||
{"Автор: "}
|
||||
<ReleaseInfoSearchLink title={props.author} searchBy={3} />
|
||||
<ReleaseInfoSearchLink title={props.author} searchBy={"author"} />
|
||||
{props.director && ", "}
|
||||
</>
|
||||
)}
|
||||
{props.director && (
|
||||
<>
|
||||
{"Режиссёр: "}
|
||||
<ReleaseInfoSearchLink title={props.director} searchBy={2} />
|
||||
<ReleaseInfoSearchLink title={props.director} searchBy={"director"} />
|
||||
</>
|
||||
)}
|
||||
</Table.Cell>
|
||||
|
@ -120,7 +120,7 @@ export const ReleaseInfoInfo = (props: {
|
|||
return (
|
||||
<div key={index} className="inline">
|
||||
{index > 0 && ", "}
|
||||
<ReleaseInfoSearchLink title={genre} searchBy={4} />
|
||||
<ReleaseInfoSearchLink title={genre} searchBy={"tag"} />
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue