Re-add repopulate reasons lost during TS conversion

This commit is contained in:
Mark McDowall 2025-03-08 15:30:01 -08:00
parent 608fc29086
commit f0d0eb9a7a
3 changed files with 11 additions and 3 deletions

View file

@ -398,7 +398,7 @@ function SeriesDetails({ seriesId }: SeriesDetailsProps) {
}, [populate]);
useEffect(() => {
registerPagePopulator(populate);
registerPagePopulator(populate, ['seriesUpdated']);
return () => {
unregisterPagePopulator(populate);

View file

@ -212,7 +212,11 @@ function CutoffUnmet() {
dispatch(fetchCutoffUnmet());
};
registerPagePopulator(repopulate);
registerPagePopulator(repopulate, [
'seriesUpdated',
'episodeFileUpdated',
'episodeFileDeleted',
]);
return () => {
unregisterPagePopulator(repopulate);

View file

@ -224,7 +224,11 @@ function Missing() {
dispatch(fetchMissing());
};
registerPagePopulator(repopulate);
registerPagePopulator(repopulate, [
'seriesUpdated',
'episodeFileUpdated',
'episodeFileDeleted',
]);
return () => {
unregisterPagePopulator(repopulate);