Fixed: Stale formats score after changing quality profile for series

This commit is contained in:
Bogdan 2024-08-14 20:24:49 +03:00 committed by Mark McDowall
parent 12ac123d5a
commit 84338f4c50
3 changed files with 4 additions and 2 deletions

View File

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

View File

@ -152,7 +152,7 @@ class SeriesDetailsConnector extends Component {
// Lifecycle // Lifecycle
componentDidMount() { componentDidMount() {
registerPagePopulator(this.populate); registerPagePopulator(this.populate, ['seriesUpdated']);
this.populate(); this.populate();
} }

View File

@ -49,7 +49,7 @@ class CutoffUnmetConnector extends Component {
gotoCutoffUnmetFirstPage gotoCutoffUnmetFirstPage
} = this.props; } = this.props;
registerPagePopulator(this.repopulate, ['episodeFileUpdated', 'episodeFileDeleted']); registerPagePopulator(this.repopulate, ['seriesUpdated', 'episodeFileUpdated', 'episodeFileDeleted']);
if (useCurrentPage) { if (useCurrentPage) {
fetchCutoffUnmet(); fetchCutoffUnmet();