diff --git a/frontend/src/Calendar/CalendarConnector.js b/frontend/src/Calendar/CalendarConnector.js index 1c5932219..47c769126 100644 --- a/frontend/src/Calendar/CalendarConnector.js +++ b/frontend/src/Calendar/CalendarConnector.js @@ -55,7 +55,7 @@ class CalendarConnector extends Component { gotoCalendarToday } = this.props; - registerPagePopulator(this.repopulate); + registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']); if (useCurrentPage) { fetchCalendar(); diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js index 5f8b1f6e0..3d290032a 100644 --- a/frontend/src/Components/SignalRConnector.js +++ b/frontend/src/Components/SignalRConnector.js @@ -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'); } }; diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js index 1417a3453..ef8468403 100644 --- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js +++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js @@ -49,7 +49,7 @@ class CutoffUnmetConnector extends Component { gotoCutoffUnmetFirstPage } = this.props; - registerPagePopulator(this.repopulate, ['episodeFileUpdated']); + registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']); if (useCurrentPage) { fetchCutoffUnmet(); diff --git a/frontend/src/Wanted/Missing/MissingConnector.js b/frontend/src/Wanted/Missing/MissingConnector.js index 85ae9e674..b20baf358 100644 --- a/frontend/src/Wanted/Missing/MissingConnector.js +++ b/frontend/src/Wanted/Missing/MissingConnector.js @@ -46,7 +46,7 @@ class MissingConnector extends Component { gotoMissingFirstPage } = this.props; - registerPagePopulator(this.repopulate, ['episodeFileUpdated']); + registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']); if (useCurrentPage) { fetchMissing();