mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-29 14:28:34 +02:00
Merge pull request #1455 from anstosa/defaultpodcastsort
Sensible default sort for podcasts
This commit is contained in:
commit
08651d28ef
1 changed files with 1 additions and 0 deletions
|
@ -278,6 +278,7 @@ export default {
|
||||||
return this.$store.getters['user/getUserMediaProgress'](this.libraryItemId, episode.id)
|
return this.$store.getters['user/getUserMediaProgress'](this.libraryItemId, episode.id)
|
||||||
},
|
},
|
||||||
init() {
|
init() {
|
||||||
|
this.sortDesc = this.mediaMetadata.type === 'episodic'
|
||||||
this.episodesCopy = this.episodes.map((ep) => {
|
this.episodesCopy = this.episodes.map((ep) => {
|
||||||
return { ...ep }
|
return { ...ep }
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue