diff --git a/components/cards/LazyBookCard.vue b/components/cards/LazyBookCard.vue index 74778dc5..ffe56089 100644 --- a/components/cards/LazyBookCard.vue +++ b/components/cards/LazyBookCard.vue @@ -313,7 +313,7 @@ export default { return !!this.userProgress?.isFinished }, showError() { - return this.numMissingParts || this.isMissing || this.isInvalid + return this.isMissing || this.isInvalid }, localLibraryItemId() { if (this.isLocal) return this.libraryItemId @@ -347,10 +347,6 @@ export default { isExplicit() { return !!this.mediaMetadata.explicit }, - numMissingParts() { - if (this.isPodcast) return 0 - return this.media.numMissingParts - }, overlayWrapperClasslist() { var classes = [] if (this.isSelectionMode) classes.push('bg-opacity-60') @@ -372,9 +368,6 @@ export default { userCanDownload() { return this.store.getters['user/getUserCanDownload'] }, - userIsRoot() { - return this.store.getters['user/getIsRoot'] - }, titleFontSize() { return 0.75 * this.sizeMultiplier }, diff --git a/components/cards/LazyListBookCard.vue b/components/cards/LazyListBookCard.vue index 9aebb8df..449c3e9f 100644 --- a/components/cards/LazyListBookCard.vue +++ b/components/cards/LazyListBookCard.vue @@ -215,7 +215,7 @@ export default { return !!this.userProgress?.isFinished }, showError() { - return this.numMissingParts || this.isMissing || this.isInvalid + return this.isMissing || this.isInvalid }, isStreaming() { return this.store.getters['getlibraryItemIdStreaming'] === this.libraryItemId @@ -235,10 +235,6 @@ export default { isInvalid() { return this._libraryItem.isInvalid }, - numMissingParts() { - if (this.isPodcast) return 0 - return this.media.numMissingParts - }, store() { return this.$store || this.$nuxt.$store },