|
|
@ -202,6 +202,8 @@ class SignalRConnector extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
if (action === 'updated') {
|
|
|
|
if (action === 'updated') {
|
|
|
|
this.props.dispatchUpdateItem({ section, ...body.resource });
|
|
|
|
this.props.dispatchUpdateItem({ section, ...body.resource });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
repopulatePage('movieUpdated');
|
|
|
|
} else if (action === 'deleted') {
|
|
|
|
} else if (action === 'deleted') {
|
|
|
|
this.props.dispatchRemoveItem({ section, id: body.resource.id });
|
|
|
|
this.props.dispatchRemoveItem({ section, id: body.resource.id });
|
|
|
|
}
|
|
|
|
}
|
|
|
|