fix: 🐛 fix current active episode
This commit is contained in:
parent
c91c17ae66
commit
68ada2b0e0
@ -225,13 +225,14 @@ export default {
|
||||
)
|
||||
},
|
||||
isCurrentEpisode(episode) {
|
||||
return this.currentEpisode && this.currentEpisode.url === episode.url
|
||||
return this.episode && this.episode.url === episode.url
|
||||
},
|
||||
isListening(episode) {
|
||||
return (
|
||||
episode.action &&
|
||||
episode.action.action &&
|
||||
episode.action.action.toLowerCase() === 'play' &&
|
||||
episode.action.position > 0 &&
|
||||
!this.hasEnded(episode)
|
||||
)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user