fix: episode could show not ended because of started at 0
All checks were successful
repod / xml (push) Successful in 18s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 2m16s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-16 22:46:27 +01:00
parent 1d65481be8
commit 9dc09c2185

View File

@ -103,7 +103,6 @@ export default {
hasEnded(episode) { hasEnded(episode) {
return episode.action return episode.action
&& episode.action.position > 0 && episode.action.position > 0
&& episode.action.started > 0
&& episode.action.total > 0 && episode.action.total > 0
&& episode.action.position >= episode.action.total && episode.action.position >= episode.action.total
}, },