oops
This commit is contained in:
parent
283741ae1c
commit
dd9473b5d1
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@
|
|||
getArtworkUrl(size = -1, includeUrl = false) {
|
||||
let artwork = this.item?.attributes?.artwork ? this.item?.attributes?.artwork?.url : (this.item?.attributes?.editorialArtwork?.subscriptionCover?.url ?? '')
|
||||
if (size != -1) {
|
||||
artwork = artwork.replace('{w}', size).replace('{h}', size).replace('{f}', "webp").replace('{c}', ((width === 900 || width === 380 || width === 600 ) ? "sr" : "bb"));
|
||||
artwork = artwork.replace('{w}', size).replace('{h}', size).replace('{f}', "webp").replace('{c}', (size === 900 || size === 380 || size === 600 ) ? "sr" : "bb");
|
||||
}
|
||||
switch (this.kind) {
|
||||
case "385":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue