Fixed: Imported books updating on Calendar

(cherry picked from commit 5a3bc49392b700650a34536ff3794bce614f64a4)

Closes #3126
This commit is contained in:
Mark McDowall
2023-12-14 17:26:53 -08:00
committed by Bogdan
parent 7451a66365
commit c412701a3d
4 changed files with 5 additions and 3 deletions
@@ -202,6 +202,8 @@ class SignalRConnector extends Component {
this.props.dispatchUpdateItem({ section, ...body.resource });
} else if (body.action === 'deleted') {
this.props.dispatchRemoveItem({ section, id: body.resource.id });
repopulatePage('bookFileDeleted');
}
// Repopulate the page to handle recently imported file