Fixed: Imported episodes updating on Calendar

Closes #6240
pull/6253/head
Mark McDowall 1 year ago
parent 0cd5bb50bd
commit 5a3bc49392

@ -55,7 +55,7 @@ class CalendarConnector extends Component {
gotoCalendarToday
} = this.props;
registerPagePopulator(this.repopulate);
registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']);
if (useCurrentPage) {
fetchCalendar();

@ -197,6 +197,8 @@ class SignalRConnector extends Component {
repopulatePage('episodeFileUpdated');
} else if (body.action === 'deleted') {
this.props.dispatchRemoveItem({ section, id: body.resource.id });
repopulatePage('episodeFileDeleted');
}
};

@ -49,7 +49,7 @@ class CutoffUnmetConnector extends Component {
gotoCutoffUnmetFirstPage
} = this.props;
registerPagePopulator(this.repopulate, ['episodeFileUpdated']);
registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']);
if (useCurrentPage) {
fetchCutoffUnmet();

@ -46,7 +46,7 @@ class MissingConnector extends Component {
gotoMissingFirstPage
} = this.props;
registerPagePopulator(this.repopulate, ['episodeFileUpdated']);
registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']);
if (useCurrentPage) {
fetchMissing();

Loading…
Cancel
Save