fix: if DELETED on GPodder, it show not ended on RePod
All checks were successful
repod / xml (push) Successful in 1m54s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 2m33s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-19 22:06:35 +01:00
parent 4da4e6a3a1
commit a5289651bd

View File

@ -102,8 +102,8 @@ export default {
moment,
hasEnded(episode) {
return episode.action
&& episode.action.position > 0
&& episode.action.total > 0
&& episode.action.position !== 0
&& episode.action.total !== 0
&& episode.action.position >= episode.action.total
},
isCurrentEpisode(episode) {