1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

Fixed: Refresh from IndexItem and MovieDetails doesn’t refresh single (#4584)

* Fixed: Refresh from MovieDetails doesn’t refresh single

* Fixed: Refresh from index Item should be sing

* Fixed: Detection on running refresh on MovieDetails
This commit is contained in:
Qstick
2020-07-10 07:39:52 -04:00
committed by GitHub
parent 113f5a9bfe
commit f8f58c2eda
2 changed files with 5 additions and 5 deletions
@@ -51,14 +51,14 @@ function createMapStateToProps() {
const isRefreshingMovie = executingCommands.some((command) => {
return (
command.name === commandNames.REFRESH_MOVIE &&
command.body.movieId === movie.id
command.body.movieIds.includes(movie.id)
);
});
const isSearchingMovie = executingCommands.some((command) => {
return (
command.name === commandNames.MOVIE_SEARCH &&
command.body.movieId === movie.id
command.body.movieIds.includes(movie.id)
);
});
@@ -85,7 +85,7 @@ class MovieIndexItemConnector extends Component {
onRefreshMoviePress = () => {
this.props.dispatchExecuteCommand({
name: commandNames.REFRESH_MOVIE,
movieId: this.props.id
movieIds: [this.props.id]
});
}