Added overview of requested movie to be printed.
This commit is contained in:
@@ -7,7 +7,8 @@ class MovieObject {
|
|||||||
this.year = object.year;
|
this.year = object.year;
|
||||||
// Check if object.poster != undefined
|
// Check if object.poster != undefined
|
||||||
this.poster = object.poster;
|
this.poster = object.poster;
|
||||||
this.matchedInPlex = object.matchedInPlex
|
this.matchedInPlex = object.matchedInPlex;
|
||||||
|
this.overview = object.overview;
|
||||||
}
|
}
|
||||||
|
|
||||||
requestExisting(id) {
|
requestExisting(id) {
|
||||||
@@ -35,6 +36,8 @@ class MovieObject {
|
|||||||
returnList.push(<button onClick={() => this.requestMovie(this.id)}>Request</button>)
|
returnList.push(<button onClick={() => this.requestMovie(this.id)}>Request</button>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
returnList.push(<span>{this.overview}</span>);
|
||||||
|
|
||||||
returnList.push(<br></br>);
|
returnList.push(<br></br>);
|
||||||
return returnList;
|
return returnList;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user