From 55ee2634df76bbfc654ae70126f469011f464178 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 9 Jul 2024 14:58:50 +0200 Subject: [PATCH] fix: :wastebasket: DELETE should show ended --- src/components/Feed/Episodes.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Feed/Episodes.vue b/src/components/Feed/Episodes.vue index 18026d9..c81be21 100644 --- a/src/components/Feed/Episodes.vue +++ b/src/components/Feed/Episodes.vue @@ -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) {