mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
Fix Delete Indexer from Edit Modal
This commit is contained in:
@@ -165,7 +165,7 @@ class EditMovieModalContent extends Component {
|
||||
}
|
||||
|
||||
EditMovieModalContent.propTypes = {
|
||||
movieId: PropTypes.number.isRequired,
|
||||
indexerId: PropTypes.number.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
item: PropTypes.object.isRequired,
|
||||
isSaving: PropTypes.bool.isRequired,
|
||||
|
||||
@@ -83,7 +83,7 @@ class EditMovieModalContentConnector extends Component {
|
||||
|
||||
onSavePress = (moveFiles) => {
|
||||
this.props.dispatchSaveMovie({
|
||||
id: this.props.movieId,
|
||||
id: this.props.indexerId,
|
||||
moveFiles
|
||||
});
|
||||
}
|
||||
@@ -104,7 +104,7 @@ class EditMovieModalContentConnector extends Component {
|
||||
}
|
||||
|
||||
EditMovieModalContentConnector.propTypes = {
|
||||
movieId: PropTypes.number,
|
||||
indexerId: PropTypes.number,
|
||||
isSaving: PropTypes.bool.isRequired,
|
||||
saveError: PropTypes.object,
|
||||
dispatchSetMovieValue: PropTypes.func.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user