mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Cleanup Conflicts in Sonarr/Lidarr Pulls
Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
This commit is contained in:
@@ -220,9 +220,9 @@ export const actionHandlers = handleThunks({
|
||||
...bookFileIds.map((id) => {
|
||||
const props = {};
|
||||
|
||||
const trackFile = data.find((file) => file.id === id);
|
||||
const bookFile = data.find((file) => file.id === id);
|
||||
|
||||
props.qualityCutoffNotMet = trackFile.qualityCutoffNotMet;
|
||||
props.qualityCutoffNotMet = bookFile.qualityCutoffNotMet;
|
||||
|
||||
if (quality) {
|
||||
props.quality = quality;
|
||||
|
||||
@@ -4,6 +4,7 @@ import { createThunk, handleThunks } from 'Store/thunks';
|
||||
import createFetchHandler from './Creators/createFetchHandler';
|
||||
import createHandleActions from './Creators/createHandleActions';
|
||||
import createSetClientSideCollectionSortReducer from './Creators/Reducers/createSetClientSideCollectionSortReducer';
|
||||
import createSetSettingValueReducer from './Creators/Reducers/createSetSettingValueReducer';
|
||||
|
||||
//
|
||||
// Variables
|
||||
@@ -96,6 +97,7 @@ export const defaultState = {
|
||||
export const FETCH_SERIES = 'series/fetchSeries';
|
||||
export const SET_SERIES_SORT = 'books/setSeriesSort';
|
||||
export const CLEAR_SERIES = 'series/clearSeries';
|
||||
export const SET_SERIES_VALUE = 'books/setBookValue';
|
||||
|
||||
//
|
||||
// Action Creators
|
||||
@@ -118,6 +120,8 @@ export const reducers = createHandleActions({
|
||||
|
||||
[SET_SERIES_SORT]: createSetClientSideCollectionSortReducer(section),
|
||||
|
||||
[SET_SERIES_VALUE]: createSetSettingValueReducer(section),
|
||||
|
||||
[CLEAR_SERIES]: (state) => {
|
||||
return Object.assign({}, state, {
|
||||
isFetching: false,
|
||||
|
||||
Reference in New Issue
Block a user