mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
Re-add repopulate reasons lost during TS conversion
This commit is contained in:
@@ -398,7 +398,7 @@ function SeriesDetails({ seriesId }: SeriesDetailsProps) {
|
||||
}, [populate]);
|
||||
|
||||
useEffect(() => {
|
||||
registerPagePopulator(populate);
|
||||
registerPagePopulator(populate, ['seriesUpdated']);
|
||||
|
||||
return () => {
|
||||
unregisterPagePopulator(populate);
|
||||
|
||||
@@ -212,7 +212,11 @@ function CutoffUnmet() {
|
||||
dispatch(fetchCutoffUnmet());
|
||||
};
|
||||
|
||||
registerPagePopulator(repopulate);
|
||||
registerPagePopulator(repopulate, [
|
||||
'seriesUpdated',
|
||||
'episodeFileUpdated',
|
||||
'episodeFileDeleted',
|
||||
]);
|
||||
|
||||
return () => {
|
||||
unregisterPagePopulator(repopulate);
|
||||
|
||||
@@ -224,7 +224,11 @@ function Missing() {
|
||||
dispatch(fetchMissing());
|
||||
};
|
||||
|
||||
registerPagePopulator(repopulate);
|
||||
registerPagePopulator(repopulate, [
|
||||
'seriesUpdated',
|
||||
'episodeFileUpdated',
|
||||
'episodeFileDeleted',
|
||||
]);
|
||||
|
||||
return () => {
|
||||
unregisterPagePopulator(repopulate);
|
||||
|
||||
Reference in New Issue
Block a user