mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-01 17:05:59 +00: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 a new issue