1
0
Fork 0
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:
ferferga 2020-05-26 10:47:20 +02:00
parent b83dc6b197
commit b46c48d4dc

View file

@ -506,7 +506,6 @@ import 'programStyles';
let imgTag = null;
let coverImage = false;
let uiAspect = null;
let blurhash;
let imgType;
if (options.preferThumb && item.ImageTags && item.ImageTags.Thumb) {
@ -604,11 +603,10 @@ import 'programStyles';
maxWidth: width,
tag: imgTag || item.ImageTags[imgType]
});
blurhash = (item.ImageBlurHashes || {})[imgType];
return {
imgUrl: imgUrl,
blurhash: blurhash,
blurhash: (item.ImageBlurHashes || {})[imgType],
forceName: forceName,
coverImage: coverImage
};