mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 22:07:07 -04:00
Re-add repopulate reasons lost during TS conversion
This commit is contained in:
parent
608fc29086
commit
f0d0eb9a7a
3 changed files with 11 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue