Fix Manual Album Grab, Clean ReleaseResource

This commit is contained in:
Qstick 2017-10-15 13:10:45 -04:00
parent 566ac1a9d3
commit 7776862359
3 changed files with 8 additions and 13 deletions

View file

@ -55,8 +55,8 @@ class InteractiveEpisodeSearchConnector extends Component {
this.props.setReleasesSort({ sortKey, sortDirection });
}
onGrabPress = (guid) => {
this.props.grabRelease({ guid });
onGrabPress = (guid, indexerId) => {
this.props.grabRelease({ guid, indexerId });
}
//

View file

@ -45,7 +45,7 @@ class InteractiveEpisodeSearchRow extends Component {
// Listeners
onGrabPress = () => {
this.props.onGrabPress(this.props.guid);
this.props.onGrabPress(this.props.guid, this.props.indexerId);
}
//
@ -175,6 +175,7 @@ InteractiveEpisodeSearchRow.propTypes = {
title: PropTypes.string.isRequired,
infoUrl: PropTypes.string.isRequired,
indexer: PropTypes.string.isRequired,
indexerId: PropTypes.number.isRequired,
size: PropTypes.number.isRequired,
seeders: PropTypes.number,
leechers: PropTypes.number,