Added overview of requested movie to be printed.

This commit is contained in:
2017-06-03 13:12:10 +02:00
parent 21c40e9b34
commit 9d29482857

View File

@@ -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(<button onClick={() => this.requestMovie(this.id)}>Request</button>)
}
returnList.push(<span>{this.overview}</span>);
returnList.push(<br></br>);
return returnList;
}