Fixed: Series index not loading
This commit is contained in:
parent
221bb10261
commit
835910843b
|
@ -1,10 +1,10 @@
|
|||
import { createSelector } from 'reselect';
|
||||
import createSeriesSelector from './createSeriesSelector';
|
||||
import { createSeriesSelectorForHook } from './createSeriesSelector';
|
||||
|
||||
function createSeriesQualityProfileSelector(seriesId) {
|
||||
return createSelector(
|
||||
(state) => state.settings.qualityProfiles.items,
|
||||
createSeriesSelector(seriesId),
|
||||
createSeriesSelectorForHook(seriesId),
|
||||
(qualityProfiles, series = {}) => {
|
||||
return qualityProfiles.find((profile) => {
|
||||
return profile.id === series.qualityProfileId;
|
||||
|
|
Loading…
Reference in New Issue