Fixed: Imported movies updating on Calendar

(cherry picked from commit 5a3bc49392b700650a34536ff3794bce614f64a4)

Closes #9491
pull/9495/head
Mark McDowall 1 year ago committed by Bogdan
parent eef379277a
commit 6cb9a46cd4

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

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

Loading…
Cancel
Save