Fix:Collection covers

This commit is contained in:
advplyr 2022-10-15 15:45:39 -05:00
parent 62a8301938
commit 588b8ff209

View File

@ -94,7 +94,8 @@ export default {
return this.author
},
placeholderUrl() {
return `${this.$config.routerBasePath}/book_placeholder.jpg`
const config = this.$config || this.$nuxt.$config
return `${config.routerBasePath}/book_placeholder.jpg`
},
fullCoverUrl() {
if (!this.libraryItem) return null