Migrate to vue3 (fix #126) #127
@ -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