From 9d294828579332e0e8d853b4a654d5c22ddd9fe1 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sat, 3 Jun 2017 13:12:10 +0200 Subject: [PATCH] Added overview of requested movie to be printed. --- client/app/components/MovieObject.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/app/components/MovieObject.jsx b/client/app/components/MovieObject.jsx index eaf4667..7784c5a 100644 --- a/client/app/components/MovieObject.jsx +++ b/client/app/components/MovieObject.jsx @@ -7,7 +7,8 @@ class MovieObject { this.year = object.year; // Check if object.poster != undefined this.poster = object.poster; - this.matchedInPlex = object.matchedInPlex + this.matchedInPlex = object.matchedInPlex; + this.overview = object.overview; } requestExisting(id) { @@ -35,6 +36,8 @@ class MovieObject { returnList.push() } + returnList.push({this.overview}); + returnList.push(

); return returnList; }