From c97ab972ef337b91b2e9cb3831d9e3b2a3151b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Sun, 16 Jul 2017 10:51:02 +0200 Subject: [PATCH] Changed movieObject ot pass full object, not just it's id when clicked --- client/app/components/MovieObject.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/app/components/MovieObject.jsx b/client/app/components/MovieObject.jsx index 4f3e8ea..51a98d4 100644 --- a/client/app/components/MovieObject.jsx +++ b/client/app/components/MovieObject.jsx @@ -11,8 +11,8 @@ class MovieObject { this.overview = object.overview; } - requestExisting(id) { - console.log('Exists', id) + requestExisting(movie) { + console.log('Exists', movie) } requestMovie(id) { @@ -33,9 +33,9 @@ class MovieObject { returnList.push(); if (this.matchedInPlex) { - returnList.push() + returnList.push() } else { - returnList.push() + returnList.push() } returnList.push({this.overview});