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:
@@ -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]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user