mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 02:45:09 +01:00
Update EpisodeSelector.js
This commit is contained in:
parent
9f9564fc25
commit
764cd3d477
@ -12,7 +12,7 @@ export function EpisodeSelector({ setSeason, setEpisode, seasons, season, episod
|
|||||||
let currentlyAt = 0;
|
let currentlyAt = 0;
|
||||||
let totalDuration = 0;
|
let totalDuration = 0;
|
||||||
|
|
||||||
const progress = progressData?.lookmovie?.show?.[slug][`${season}-${v}`]
|
const progress = progressData?.lookmovie?.show?.slug?.[`${season}-${v}`]
|
||||||
if(progress) {
|
if(progress) {
|
||||||
currentlyAt = progress.currentlyAt
|
currentlyAt = progress.currentlyAt
|
||||||
totalDuration = progress.totalDuration
|
totalDuration = progress.totalDuration
|
||||||
|
Loading…
Reference in New Issue
Block a user