Fix:Podcast library playlists page incorrect label in toolbar #1135

This commit is contained in:
advplyr 2024-03-19 12:52:14 -05:00
parent 7c2d51f811
commit 9f89fcd968

View file

@ -64,14 +64,14 @@ export default {
return this.$route.query || {}
},
entityTitle() {
if (this.isPodcast) return this.$strings.LabelPodcasts
if (this.page === 'library') return this.$strings.LabelBooks
else if (this.page === 'series') {
if (this.page === 'library') {
return this.isPodcast ? this.$strings.LabelPodcasts : this.$strings.LabelBooks
} else if (this.page === 'playlists') {
return this.$strings.ButtonPlaylists
} else if (this.page === 'series') {
return this.$strings.LabelSeries
} else if (this.page === 'collections') {
return this.$strings.ButtonCollections
} else if (this.page === 'playlists') {
return this.$strings.ButtonPlaylists
} else if (this.page === 'authors') {
return this.$strings.LabelAuthors
}