fix: 🗑️ DELETE should show ended
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-07-09 14:58:50 +02:00
parent f3090c5490
commit 55ee2634df

View File

@ -223,9 +223,10 @@ export default {
hasEnded(episode) { hasEnded(episode) {
return ( return (
episode.action && episode.action &&
episode.action.position > 0 && (episode.action.action === 'DELETE' ||
(episode.action.position > 0 &&
episode.action.total > 0 && episode.action.total > 0 &&
episode.action.position >= episode.action.total episode.action.position >= episode.action.total))
) )
}, },
isCurrentEpisode(episode) { isCurrentEpisode(episode) {