diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index ad5efa29..4f198844 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -104,7 +104,7 @@ export default { shelves.push({ id: 'books', label: 'Books', - type: 'books', + type: 'book', entities: this.results.books.map((res) => res.libraryItem) }) } diff --git a/client/components/app/BookShelfRow.vue b/client/components/app/BookShelfRow.vue index 217c67a3..757d8cd8 100644 --- a/client/components/app/BookShelfRow.vue +++ b/client/components/app/BookShelfRow.vue @@ -2,7 +2,7 @@
-
+
@@ -108,7 +108,7 @@ export default { }, updateSelectionMode(val) { var selectedLibraryItems = this.$store.state.selectedLibraryItems - if (this.shelf.type === 'books') { + if (this.shelf.type === 'book') { this.shelf.entities.forEach((ent) => { var component = this.$refs[`shelf-book-${ent.id}`] if (!component || !component.length) return diff --git a/client/components/app/StreamContainer.vue b/client/components/app/StreamContainer.vue index a991a359..45fd7c56 100644 --- a/client/components/app/StreamContainer.vue +++ b/client/components/app/StreamContainer.vue @@ -97,7 +97,7 @@ export default { }, userAudiobook() { if (!this.libraryItemId) return - return this.$store.getters['user/getUserAudiobook'](this.libraryItemId) + return this.$store.getters['user/getUserLibraryItemProgress'](this.libraryItemId) }, userAudiobookCurrentTime() { return this.userAudiobook ? this.userAudiobook.currentTime || 0 : 0 diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index 0fc37f57..676704a7 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -35,7 +35,7 @@
-
+