mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Apply some suggestions
This commit is contained in:
parent
b83dc6b197
commit
b46c48d4dc
1 changed files with 1 additions and 3 deletions
|
@ -506,7 +506,6 @@ import 'programStyles';
|
||||||
let imgTag = null;
|
let imgTag = null;
|
||||||
let coverImage = false;
|
let coverImage = false;
|
||||||
let uiAspect = null;
|
let uiAspect = null;
|
||||||
let blurhash;
|
|
||||||
let imgType;
|
let imgType;
|
||||||
|
|
||||||
if (options.preferThumb && item.ImageTags && item.ImageTags.Thumb) {
|
if (options.preferThumb && item.ImageTags && item.ImageTags.Thumb) {
|
||||||
|
@ -604,11 +603,10 @@ import 'programStyles';
|
||||||
maxWidth: width,
|
maxWidth: width,
|
||||||
tag: imgTag || item.ImageTags[imgType]
|
tag: imgTag || item.ImageTags[imgType]
|
||||||
});
|
});
|
||||||
blurhash = (item.ImageBlurHashes || {})[imgType];
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
imgUrl: imgUrl,
|
imgUrl: imgUrl,
|
||||||
blurhash: blurhash,
|
blurhash: (item.ImageBlurHashes || {})[imgType],
|
||||||
forceName: forceName,
|
forceName: forceName,
|
||||||
coverImage: coverImage
|
coverImage: coverImage
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue