mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Revert "Fix find error on movie details"
This reverts commit 6bdd24e62d
.
This commit is contained in:
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…
Reference in New Issue
Block a user