Fixed: Show AltTitle or Tag if found by in search

pull/4480/head
Qstick 4 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