mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-07 00:34:41 +00:00
fix: ReleaseLink (16x9) - missing episode type if no episode.name is present
This commit is contained in:
parent
c95e9da17f
commit
b5520cb06c
1 changed files with 1 additions and 6 deletions
|
@ -24,11 +24,6 @@ export const ReleaseLink169 = (props: any) => {
|
||||||
<div className="relative w-full h-full overflow-hidden bg-center bg-no-repeat bg-cover rounded-sm group-hover:animate-bg_zoom animate-bg_zoom_rev group-hover:[background-size:110%] " style={{
|
<div className="relative w-full h-full overflow-hidden bg-center bg-no-repeat bg-cover rounded-sm group-hover:animate-bg_zoom animate-bg_zoom_rev group-hover:[background-size:110%] " style={{
|
||||||
backgroundImage: `linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%), url(${props.image})`,
|
backgroundImage: `linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%), url(${props.image})`,
|
||||||
}}>
|
}}>
|
||||||
{/* <img
|
|
||||||
className="absolute z-0 object-cover w-full h-full transition mix-blend-overlay group-hover:scale-110"
|
|
||||||
src={props.image}
|
|
||||||
alt=""
|
|
||||||
/> */}
|
|
||||||
<div className="absolute flex flex-wrap items-start justify-start gap-0.5 sm:gap-1 left-2 top-2">
|
<div className="absolute flex flex-wrap items-start justify-start gap-0.5 sm:gap-1 left-2 top-2">
|
||||||
<Chip
|
<Chip
|
||||||
bg_color={
|
bg_color={
|
||||||
|
@ -74,7 +69,7 @@ export const ReleaseLink169 = (props: any) => {
|
||||||
name={
|
name={
|
||||||
props.last_view_episode.name
|
props.last_view_episode.name
|
||||||
? props.last_view_episode.name
|
? props.last_view_episode.name
|
||||||
: props.last_view_episode.position + 1
|
: `${props.last_view_episode.position + 1} серия`
|
||||||
}
|
}
|
||||||
name_2={
|
name_2={
|
||||||
"last_view_timestamp" in props &&
|
"last_view_timestamp" in props &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue