Revert "Fix find error on movie details"

This reverts commit 6bdd24e62d.
pull/2/head
ta264 4 years ago
parent 5db1faad0b
commit 9075fdc1c1

@ -49,7 +49,7 @@ const defaultFontSize = parseInt(fonts.defaultFontSize);
const lineHeight = parseFloat(fonts.lineHeight);
function getFanartUrl(images) {
const fanartImage = images.find((i) => i.coverType === 'fanart');
const fanartImage = images.find({ coverType: 'fanart' });
if (fanartImage) {
// Remove protocol
return fanartImage.url.replace(/^https?:/, '');

Loading…
Cancel
Save