mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-29 23:25:47 +02:00
Update:Showing fullscreen cover uses raw cover
This commit is contained in:
parent
ad3fee8907
commit
b4a37fed28
3 changed files with 11 additions and 10 deletions
|
@ -47,7 +47,8 @@ export default {
|
|||
default: 120
|
||||
},
|
||||
bookCoverAspectRatio: Number,
|
||||
downloadCover: String
|
||||
downloadCover: String,
|
||||
raw: Boolean
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -115,7 +116,7 @@ export default {
|
|||
if (this.downloadCover) return this.downloadCover
|
||||
if (!this.libraryItem) return null
|
||||
var store = this.$store || this.$nuxt.$store
|
||||
return store.getters['globals/getLibraryItemCoverSrc'](this.libraryItem, this.placeholderUrl)
|
||||
return store.getters['globals/getLibraryItemCoverSrc'](this.libraryItem, this.placeholderUrl, this.raw)
|
||||
},
|
||||
cover() {
|
||||
return this.media.coverPath || this.placeholderUrl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue