Now returns just id of the movie when clicked button.

This commit is contained in:
2017-07-16 13:45:42 +02:00
parent 6322b0b17b
commit a6af5e8c5d

View File

@@ -35,7 +35,7 @@ class MovieObject {
if (this.matchedInPlex) {
returnList.push(<button onClick={() => this.requestExisting(this)}>Request anyway</button>)
} else {
returnList.push(<button onClick={() => this.requestMovie(this)}>Request</button>)
returnList.push(<button onClick={() => this.requestMovie(this.id)}>Request</button>)
}
returnList.push(<span>{this.overview}</span>);