From 9f89fcd968d0edf217e0ba8ac7b83de5bdd90b9b Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 19 Mar 2024 12:52:14 -0500 Subject: [PATCH] Fix:Podcast library playlists page incorrect label in toolbar #1135 --- components/home/BookshelfToolbar.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/home/BookshelfToolbar.vue b/components/home/BookshelfToolbar.vue index 7a4d4fda..3f045efb 100644 --- a/components/home/BookshelfToolbar.vue +++ b/components/home/BookshelfToolbar.vue @@ -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 }