mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-29 06:18:21 +02:00
Fix Cover modal showing error image for items with no cover, update placeholder cover url to all come from global store
This commit is contained in:
parent
7f3421f78a
commit
718433183b
7 changed files with 22 additions and 15 deletions
|
@ -96,8 +96,8 @@ export default {
|
|||
return this.author
|
||||
},
|
||||
placeholderUrl() {
|
||||
const config = this.$config || this.$nuxt.$config
|
||||
return `${config.routerBasePath}/book_placeholder.jpg`
|
||||
const store = this.$store || this.$nuxt.$store
|
||||
return store.getters['globals/getPlaceholderCoverSrc']
|
||||
},
|
||||
fullCoverUrl() {
|
||||
if (!this.libraryItem) return null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue