mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-02-11 00:08:31 -06:00
Fixed: Stale formats score after changing quality profile for artists
Closes #5009
This commit is contained in:
@@ -166,7 +166,7 @@ class ArtistDetailsConnector extends Component {
|
||||
// Lifecycle
|
||||
|
||||
componentDidMount() {
|
||||
registerPagePopulator(this.populate);
|
||||
registerPagePopulator(this.populate, ['artistUpdated']);
|
||||
this.populate();
|
||||
}
|
||||
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user