Add dropdown to the episode type

This commit is contained in:
mfcar 2023-02-22 18:48:36 +00:00
parent b1ee54522a
commit 9a51c3be0f
No known key found for this signature in database
3 changed files with 9 additions and 6 deletions

View file

@ -117,7 +117,7 @@ class PodcastEpisode {
this.enclosure = data.enclosure ? { ...data.enclosure } : null
this.season = data.season || ''
this.episode = data.episode || ''
this.episodeType = data.episodeType || ''
this.episodeType = data.episodeType || 'full'
this.publishedAt = data.publishedAt || 0
this.addedAt = Date.now()
this.updatedAt = Date.now()
@ -165,4 +165,4 @@ class PodcastEpisode {
return cleanStringForSearch(this.title).includes(query)
}
}
module.exports = PodcastEpisode
module.exports = PodcastEpisode