mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
Fix find error on movie details
This commit is contained in:
parent
d5ec2914e2
commit
6bdd24e62d
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ const defaultFontSize = parseInt(fonts.defaultFontSize);
|
|||
const lineHeight = parseFloat(fonts.lineHeight);
|
||||
|
||||
function getFanartUrl(images) {
|
||||
const fanartImage = images.find({ coverType: 'fanart' });
|
||||
const fanartImage = images.find((i) => i.coverType === 'fanart');
|
||||
if (fanartImage) {
|
||||
// Remove protocol
|
||||
return fanartImage.url.replace(/^https?:/, '');
|
||||
|
|
Loading…
Reference in a new issue