New data model removing media entity for books

This commit is contained in:
advplyr 2022-03-26 11:59:34 -05:00
parent 920ca683b9
commit 3150822117
44 changed files with 733 additions and 798 deletions

View file

@ -76,11 +76,11 @@ export default {
currentLibraryId() {
return this.$store.state.libraries.currentLibraryId
},
userItemProgress() {
return this.user.libraryItemProgress || []
userMediaProgress() {
return this.user.mediaProgress || []
},
userItemsFinished() {
return this.userItemProgress.filter((lip) => !!lip.isFinished)
return this.userMediaProgress.filter((lip) => !!lip.isFinished)
},
mostRecentListeningSessions() {
if (!this.listeningStats) return []