Skip to content

Commit

Permalink
Remove old missing parts references
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Apr 28, 2024
1 parent aae53a5 commit fc954a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
9 changes: 1 addition & 8 deletions components/cards/LazyBookCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand All @@ -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
},
Expand Down
6 changes: 1 addition & 5 deletions components/cards/LazyListBookCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
},
Expand Down

0 comments on commit fc954a9

Please sign in to comment.