1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02: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 tag = null;
if (match.key === 'alternateTitles.cleanTitle') {
alternateTitle = alternateTitles[match.arrayIndex];
if (match.key === 'alternateTitles.title') {
alternateTitle = alternateTitles[match.refIndex];
} else if (match.key === 'tags.label') {
tag = tags[match.arrayIndex];
tag = tags[match.refIndex];
}
return (