Remove old missing parts references

This commit is contained in:
advplyr 2024-04-28 16:38:40 -05:00
parent aae53a54cd
commit fc954a968b
2 changed files with 2 additions and 13 deletions

View file

@ -313,7 +313,7 @@ export default {
return !!this.userProgress?.isFinished return !!this.userProgress?.isFinished
}, },
showError() { showError() {
return this.numMissingParts || this.isMissing || this.isInvalid return this.isMissing || this.isInvalid
}, },
localLibraryItemId() { localLibraryItemId() {
if (this.isLocal) return this.libraryItemId if (this.isLocal) return this.libraryItemId
@ -347,10 +347,6 @@ export default {
isExplicit() { isExplicit() {
return !!this.mediaMetadata.explicit return !!this.mediaMetadata.explicit
}, },
numMissingParts() {
if (this.isPodcast) return 0
return this.media.numMissingParts
},
overlayWrapperClasslist() { overlayWrapperClasslist() {
var classes = [] var classes = []
if (this.isSelectionMode) classes.push('bg-opacity-60') if (this.isSelectionMode) classes.push('bg-opacity-60')
@ -372,9 +368,6 @@ export default {
userCanDownload() { userCanDownload() {
return this.store.getters['user/getUserCanDownload'] return this.store.getters['user/getUserCanDownload']
}, },
userIsRoot() {
return this.store.getters['user/getIsRoot']
},
titleFontSize() { titleFontSize() {
return 0.75 * this.sizeMultiplier return 0.75 * this.sizeMultiplier
}, },

View file

@ -215,7 +215,7 @@ export default {
return !!this.userProgress?.isFinished return !!this.userProgress?.isFinished
}, },
showError() { showError() {
return this.numMissingParts || this.isMissing || this.isInvalid return this.isMissing || this.isInvalid
}, },
isStreaming() { isStreaming() {
return this.store.getters['getlibraryItemIdStreaming'] === this.libraryItemId return this.store.getters['getlibraryItemIdStreaming'] === this.libraryItemId
@ -235,10 +235,6 @@ export default {
isInvalid() { isInvalid() {
return this._libraryItem.isInvalid return this._libraryItem.isInvalid
}, },
numMissingParts() {
if (this.isPodcast) return 0
return this.media.numMissingParts
},
store() { store() {
return this.$store || this.$nuxt.$store return this.$store || this.$nuxt.$store
}, },