mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-24 04:31:51 +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 totalDuration = 0;
|
||||
|
||||
const progress = progressData?.lookmovie?.show?.[slug][`${season}-${v}`]
|
||||
const progress = progressData?.lookmovie?.show?.slug?.[`${season}-${v}`]
|
||||
if(progress) {
|
||||
currentlyAt = progress.currentlyAt
|
||||
totalDuration = progress.totalDuration
|
||||
|
Loading…
Reference in New Issue
Block a user