diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 90689ae9..9118883a 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -100,8 +100,8 @@ export default { selectedLibraryItems() { return this.$store.state.selectedLibraryItems }, - userItemProgress() { - return this.$store.state.user.user.libraryItemProgress || [] + userMediaProgress() { + return this.$store.state.user.user.mediaProgress || [] }, userCanUpdate() { return this.$store.getters['user/getUserCanUpdate'] @@ -115,7 +115,7 @@ export default { selectedIsFinished() { // Find an item that is not finished, if none then all items finished return !this.selectedLibraryItems.find((libraryItemId) => { - var itemProgress = this.userItemProgress.find((lip) => lip.id === libraryItemId) + var itemProgress = this.userMediaProgress.find((lip) => lip.id === libraryItemId) return !itemProgress || !itemProgress.isFinished }) }, diff --git a/client/components/app/BookShelfRow.vue b/client/components/app/BookShelfRow.vue index 757d8cd8..8b56a792 100644 --- a/client/components/app/BookShelfRow.vue +++ b/client/components/app/BookShelfRow.vue @@ -82,9 +82,6 @@ export default { shelfHeight() { return this.bookCoverHeight + 48 }, - userAudiobooks() { - return this.$store.state.user.user ? this.$store.state.user.user.audiobooks || {} : {} - }, paddingLeft() { if (window.innerWidth < 768) return 1 return 2.5 diff --git a/client/components/app/StreamContainer.vue b/client/components/app/StreamContainer.vue index 4eaa0b6e..20418103 100644 --- a/client/components/app/StreamContainer.vue +++ b/client/components/app/StreamContainer.vue @@ -93,12 +93,12 @@ export default { user() { return this.$store.state.user.user }, - userLibraryItemProgress() { + userMediaProgress() { if (!this.libraryItemId) return - return this.$store.getters['user/getUserLibraryItemProgress'](this.libraryItemId) + return this.$store.getters['user/getUserMediaProgress'](this.libraryItemId) }, userItemCurrentTime() { - return this.userLibraryItemProgress ? this.userLibraryItemProgress.currentTime || 0 : 0 + return this.userMediaProgress ? this.userMediaProgress.currentTime || 0 : 0 }, bookmarks() { if (!this.libraryItemId) return [] diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index cd12d0ff..fb10dd13 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -17,11 +17,12 @@
{{ booksInSeries }}
-
+

{{ title }}

- + +
@@ -38,7 +39,7 @@
-