1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-21 23:32:27 +00:00

Fixed: Stale formats score after changing quality profile for artists

Closes #5009
This commit is contained in:
Bogdan 2024-08-18 17:57:54 +03:00
parent 950e94564e
commit afbead8a88
3 changed files with 4 additions and 2 deletions

View file

@ -166,7 +166,7 @@ class ArtistDetailsConnector extends Component {
// Lifecycle
componentDidMount() {
registerPagePopulator(this.populate);
registerPagePopulator(this.populate, ['artistUpdated']);
this.populate();
}

View file

@ -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 });
}

View file

@ -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();