Fixed: Series index not loading

This commit is contained in:
Mark McDowall 2023-04-04 12:17:39 -07:00
parent 221bb10261
commit 835910843b
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import createSeriesSelector from './createSeriesSelector'; import { createSeriesSelectorForHook } from './createSeriesSelector';
function createSeriesQualityProfileSelector(seriesId) { function createSeriesQualityProfileSelector(seriesId) {
return createSelector( return createSelector(
(state) => state.settings.qualityProfiles.items, (state) => state.settings.qualityProfiles.items,
createSeriesSelector(seriesId), createSeriesSelectorForHook(seriesId),
(qualityProfiles, series = {}) => { (qualityProfiles, series = {}) => {
return qualityProfiles.find((profile) => { return qualityProfiles.find((profile) => {
return profile.id === series.qualityProfileId; return profile.id === series.qualityProfileId;