diff --git a/client/app/components/MovieObject.jsx b/client/app/components/MovieObject.jsx index bacf327..5b6f58a 100644 --- a/client/app/components/MovieObject.jsx +++ b/client/app/components/MovieObject.jsx @@ -52,7 +52,11 @@ class MovieObject { style={movieStyle.requestButton}>+ Request; } - var themoviedbLink = 'https://www.themoviedb.org/movie/' + this.id + if (this.type === 'movie') + var themoviedbLink = 'https://www.themoviedb.org/movie/' + this.id + else if (this.type === 'show') + var themoviedbLink = 'https://www.themoviedb.org/tv/' + this.id + return (