diff --git a/frontend/src/Components/Page/Header/MovieSearchResult.js b/frontend/src/Components/Page/Header/MovieSearchResult.js index 8708fb151..685cc7e8b 100644 --- a/frontend/src/Components/Page/Header/MovieSearchResult.js +++ b/frontend/src/Components/Page/Header/MovieSearchResult.js @@ -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 (