From fc954a968b47c5f89c171b6cdf22bf38dcc7379a Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 28 Apr 2024 16:38:40 -0500 Subject: [PATCH] Remove old missing parts references --- components/cards/LazyBookCard.vue | 9 +-------- components/cards/LazyListBookCard.vue | 6 +----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/components/cards/LazyBookCard.vue b/components/cards/LazyBookCard.vue index 74778dc50..ffe560892 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 9aebb8dfc..449c3e9ff 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 },