mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
Clear search results when switching between movies
This commit is contained in:
parent
ee0db93a0a
commit
94d620d878
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,10 @@ import {
|
|||
clearQueueDetails,
|
||||
fetchQueueDetails,
|
||||
} from 'Store/Actions/queueActions';
|
||||
import {
|
||||
cancelFetchReleases,
|
||||
clearReleases,
|
||||
} from 'Store/Actions/releaseActions';
|
||||
import { fetchRootFolders } from 'Store/Actions/rootFolderActions';
|
||||
import { fetchImportListSchema } from 'Store/Actions/Settings/importLists';
|
||||
import createAllMoviesSelector from 'Store/Selectors/createAllMoviesSelector';
|
||||
|
@ -462,6 +466,8 @@ function MovieDetails({ movieId }: MovieDetailsProps) {
|
|||
dispatch(clearExtraFiles());
|
||||
dispatch(clearMovieCredits());
|
||||
dispatch(clearQueueDetails());
|
||||
dispatch(cancelFetchReleases());
|
||||
dispatch(clearReleases());
|
||||
};
|
||||
}, [populate, dispatch]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue