mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-02 21:24:20 -04:00
Fix no runtime info
This commit is contained in:
parent
f0d6402529
commit
dd62611588
@ -69,7 +69,12 @@ export const BaseEpisodeP = withImages(
|
|||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
"episodes",
|
"episodes",
|
||||||
).transform((x) => ({
|
)
|
||||||
...x,
|
.transform((x) => ({
|
||||||
href: `/watch/${x.slug}`,
|
...x,
|
||||||
}));
|
runtime: x.runtime === 0 ? null : x.runtime,
|
||||||
|
}))
|
||||||
|
.transform((x) => ({
|
||||||
|
...x,
|
||||||
|
href: `/watch/${x.slug}`,
|
||||||
|
}));
|
||||||
|
@ -102,6 +102,10 @@ export const MovieP = withImages(
|
|||||||
}),
|
}),
|
||||||
"movies",
|
"movies",
|
||||||
)
|
)
|
||||||
|
.transform((x) => ({
|
||||||
|
...x,
|
||||||
|
runtime: x.runtime === 0 ? null : x.runtime,
|
||||||
|
}))
|
||||||
.transform((x) => {
|
.transform((x) => {
|
||||||
if (!x.thumbnail && x.poster) {
|
if (!x.thumbnail && x.poster) {
|
||||||
x.thumbnail = { ...x.poster };
|
x.thumbnail = { ...x.poster };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user