mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
Fixed: Avoid stale movie statistics on movies index
This commit is contained in:
parent
a962de776b
commit
6e68a91922
2 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,7 @@ import { DESCENDING } from 'Helpers/Props/sortDirections';
|
|||
import InteractiveImportModal from 'InteractiveImport/InteractiveImportModal';
|
||||
import NoMovie from 'Movie/NoMovie';
|
||||
import { executeCommand } from 'Store/Actions/commandActions';
|
||||
import { fetchMovies } from 'Store/Actions/movieActions';
|
||||
import {
|
||||
setMovieFilter,
|
||||
setMovieSort,
|
||||
|
@ -106,6 +107,7 @@ const MovieIndex = withScrollPosition((props: MovieIndexProps) => {
|
|||
const [isSelectMode, setIsSelectMode] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(fetchMovies());
|
||||
dispatch(fetchQueueDetails({ all: true }));
|
||||
}, [dispatch]);
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ export interface MovieFile extends ModelBase {
|
|||
languages: Language[];
|
||||
quality: QualityModel;
|
||||
customFormats: CustomFormat[];
|
||||
customFormatScore: number;
|
||||
indexerFlags: number;
|
||||
mediaInfo: MediaInfo;
|
||||
qualityCutoffNotMet: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue