fix: 🗑️ DELETE should show ended

This commit is contained in:
Michel Roux 2024-07-09 14:58:50 +02:00
parent f3090c5490
commit 55ee2634df
1 changed files with 4 additions and 3 deletions

View File

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