1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Show AltTitle or Tag if found by in search

This commit is contained in:
Qstick 2020-06-29 22:56:35 -04:00
parent afada848c8
commit cdd653bea9

View File

@ -17,10 +17,10 @@ function MovieSearchResult(props) {
let alternateTitle = null; let alternateTitle = null;
let tag = null; let tag = null;
if (match.key === 'alternateTitles.cleanTitle') { if (match.key === 'alternateTitles.title') {
alternateTitle = alternateTitles[match.arrayIndex]; alternateTitle = alternateTitles[match.refIndex];
} else if (match.key === 'tags.label') { } else if (match.key === 'tags.label') {
tag = tags[match.arrayIndex]; tag = tags[match.refIndex];
} }
return ( return (