Now returns just id of the movie when clicked button.
This commit is contained in:
		| @@ -35,7 +35,7 @@ class MovieObject { | |||||||
| 		if (this.matchedInPlex) { | 		if (this.matchedInPlex) { | ||||||
| 			returnList.push(<button onClick={() => this.requestExisting(this)}>Request anyway</button>) | 			returnList.push(<button onClick={() => this.requestExisting(this)}>Request anyway</button>) | ||||||
| 		} else { | 		} 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>); | 		returnList.push(<span>{this.overview}</span>); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user