diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 01ab4fa7..95e7c378 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -274,15 +274,10 @@ export default { isAuthorsPage() { return this.page === 'authors' }, - isAlbumsPage() { - return this.page === 'albums' - }, numShowing() { return this.totalEntities }, entityName() { - if (this.isAlbumsPage) return 'Albums' - if (this.isPodcastLibrary) return this.$strings.LabelPodcasts if (!this.page) return this.$strings.LabelBooks if (this.isSeriesPage) return this.$strings.LabelSeries diff --git a/client/components/cards/LazyAlbumCard.vue b/client/components/cards/LazyAlbumCard.vue deleted file mode 100644 index 9b722795..00000000 --- a/client/components/cards/LazyAlbumCard.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - diff --git a/client/mixins/bookshelfCardsHelpers.js b/client/mixins/bookshelfCardsHelpers.js index 22a3556f..fc8a4125 100644 --- a/client/mixins/bookshelfCardsHelpers.js +++ b/client/mixins/bookshelfCardsHelpers.js @@ -3,7 +3,6 @@ import LazyBookCard from '@/components/cards/LazyBookCard' import LazySeriesCard from '@/components/cards/LazySeriesCard' import LazyCollectionCard from '@/components/cards/LazyCollectionCard' import LazyPlaylistCard from '@/components/cards/LazyPlaylistCard' -import LazyAlbumCard from '@/components/cards/LazyAlbumCard' import AuthorCard from '@/components/cards/AuthorCard' export default { @@ -20,7 +19,6 @@ export default { if (this.entityName === 'series') return Vue.extend(LazySeriesCard) if (this.entityName === 'collections') return Vue.extend(LazyCollectionCard) if (this.entityName === 'playlists') return Vue.extend(LazyPlaylistCard) - if (this.entityName === 'albums') return Vue.extend(LazyAlbumCard) if (this.entityName === 'authors') return Vue.extend(AuthorCard) return Vue.extend(LazyBookCard) }, @@ -28,7 +26,6 @@ export default { if (this.entityName === 'series') return 'cards-lazy-series-card' if (this.entityName === 'collections') return 'cards-lazy-collection-card' if (this.entityName === 'playlists') return 'cards-lazy-playlist-card' - if (this.entityName === 'albums') return 'cards-lazy-album-card' if (this.entityName === 'authors') return 'cards-author-card' return 'cards-lazy-book-card' },