feat: last watched episode on show page if available

This commit is contained in:
Cory Dransfeldt 2024-08-08 17:53:56 -07:00
parent 2e3753046b
commit a856969fff
No known key found for this signature in database
4 changed files with 15 additions and 5 deletions

View file

@ -258,5 +258,6 @@ export default {
return `${allButLast} and ${last}`
},
formatVenue: (venue) => venue.split(',')[0].trim()
formatVenue: (venue) => venue.split(',')[0].trim(),
lastEpisode: (episodes) => `S${episodes[episodes.length - 1]['season_number']}E${episodes[episodes.length - 1]['episode_number']}`
}