diff --git a/frontend/src/Artist/Details/ArtistDetailsConnector.js b/frontend/src/Artist/Details/ArtistDetailsConnector.js index bed30a937..ec7228b0a 100644 --- a/frontend/src/Artist/Details/ArtistDetailsConnector.js +++ b/frontend/src/Artist/Details/ArtistDetailsConnector.js @@ -166,7 +166,7 @@ class ArtistDetailsConnector extends Component { // Lifecycle componentDidMount() { - registerPagePopulator(this.populate); + registerPagePopulator(this.populate, ['artistUpdated']); this.populate(); } diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js index db631de6f..40c6265c6 100644 --- a/frontend/src/Components/SignalRConnector.js +++ b/frontend/src/Components/SignalRConnector.js @@ -234,6 +234,8 @@ class SignalRConnector extends Component { if (action === 'updated') { this.props.dispatchUpdateItem({ section, ...body.resource }); + + repopulatePage('artistUpdated'); } else if (action === 'deleted') { this.props.dispatchRemoveItem({ section, id: body.resource.id }); } diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js index dbb4f2235..d0d5591bc 100644 --- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js +++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js @@ -53,7 +53,7 @@ class CutoffUnmetConnector extends Component { gotoCutoffUnmetFirstPage } = this.props; - registerPagePopulator(this.repopulate, ['trackFileUpdated', 'trackFileDeleted']); + registerPagePopulator(this.repopulate, ['artistUpdated', 'trackFileUpdated', 'trackFileDeleted']); if (useCurrentPage) { fetchCutoffUnmet();