diff --git a/frontend/src/Components/Page/Header/MovieSearchInputConnector.js b/frontend/src/Components/Page/Header/MovieSearchInputConnector.js index f470394c4..84390140e 100644 --- a/frontend/src/Components/Page/Header/MovieSearchInputConnector.js +++ b/frontend/src/Components/Page/Header/MovieSearchInputConnector.js @@ -19,6 +19,8 @@ function createCleanMovieSelector() { year, images, alternateTitles = [], + tmdbId, + imdbId, tags = [] } = movie; @@ -29,6 +31,8 @@ function createCleanMovieSelector() { year, images, alternateTitles, + tmdbId, + imdbId, firstCharacter: title.charAt(0).toLowerCase(), tags: tags.reduce((acc, id) => { const matchingTag = allTags.find((tag) => tag.id === id); diff --git a/frontend/src/Components/Page/Header/MovieSearchResult.js b/frontend/src/Components/Page/Header/MovieSearchResult.js index 099a0a69e..ab15130d0 100644 --- a/frontend/src/Components/Page/Header/MovieSearchResult.js +++ b/frontend/src/Components/Page/Header/MovieSearchResult.js @@ -12,6 +12,8 @@ function MovieSearchResult(props) { year, images, alternateTitles, + tmdbId, + imdbId, tags } = props; @@ -47,6 +49,22 @@ function MovieSearchResult(props) { null } + { + match.key === 'tmdbId' && tmdbId ? +