From b514de2840f80bd6a18c9fc706ef58883b120292 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 18 Aug 2024 20:10:27 +0300 Subject: [PATCH] Revert "Fixed: Stale formats score after changing quality profile for artists" This reverts commit afbead8a88efbf150ac427f15c5522efa7bc5d7f. --- frontend/src/Artist/Details/ArtistDetailsConnector.js | 2 +- frontend/src/Components/SignalRConnector.js | 2 -- frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/Artist/Details/ArtistDetailsConnector.js b/frontend/src/Artist/Details/ArtistDetailsConnector.js index ec7228b0a..bed30a937 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, ['artistUpdated']); + registerPagePopulator(this.populate); this.populate(); } diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js index 40c6265c6..db631de6f 100644 --- a/frontend/src/Components/SignalRConnector.js +++ b/frontend/src/Components/SignalRConnector.js @@ -234,8 +234,6 @@ 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 d0d5591bc..dbb4f2235 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, ['artistUpdated', 'trackFileUpdated', 'trackFileDeleted']); + registerPagePopulator(this.repopulate, ['trackFileUpdated', 'trackFileDeleted']); if (useCurrentPage) { fetchCutoffUnmet();