mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fix Manual Album Grab, Clean ReleaseResource
This commit is contained in:
parent
566ac1a9d3
commit
7776862359
3 changed files with 8 additions and 13 deletions
|
@ -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 });
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue