Fixed: Show AltTitle or Tag if found by in search

pull/2/head
Qstick 5 years ago
parent afada848c8
commit cdd653bea9

@ -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 (

Loading…
Cancel
Save