mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 22:07:07 -04:00
Fixed: Series index not loading
This commit is contained in:
parent
221bb10261
commit
835910843b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue