mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Column settings for series table
This commit is contained in:
@@ -5,6 +5,7 @@ import createFetchHandler from './Creators/createFetchHandler';
|
||||
import createHandleActions from './Creators/createHandleActions';
|
||||
import createSetClientSideCollectionSortReducer from './Creators/Reducers/createSetClientSideCollectionSortReducer';
|
||||
import createSetSettingValueReducer from './Creators/Reducers/createSetSettingValueReducer';
|
||||
import createSetTableOptionReducer from './Creators/Reducers/createSetTableOptionReducer';
|
||||
|
||||
//
|
||||
// Variables
|
||||
@@ -80,6 +81,7 @@ export const defaultState = {
|
||||
|
||||
export const FETCH_SERIES = 'series/fetchSeries';
|
||||
export const SET_SERIES_SORT = 'books/setSeriesSort';
|
||||
export const SET_SERIES_TABLE_OPTION = 'books/setSeriesTableOption';
|
||||
export const CLEAR_SERIES = 'series/clearSeries';
|
||||
export const SET_SERIES_VALUE = 'books/setBookValue';
|
||||
|
||||
@@ -88,6 +90,7 @@ export const SET_SERIES_VALUE = 'books/setBookValue';
|
||||
|
||||
export const fetchSeries = createThunk(FETCH_SERIES);
|
||||
export const setSeriesSort = createAction(SET_SERIES_SORT);
|
||||
export const setSeriesTableOption = createAction(SET_SERIES_TABLE_OPTION);
|
||||
export const clearSeries = createAction(CLEAR_SERIES);
|
||||
|
||||
//
|
||||
@@ -104,6 +107,8 @@ export const reducers = createHandleActions({
|
||||
|
||||
[SET_SERIES_SORT]: createSetClientSideCollectionSortReducer(section),
|
||||
|
||||
[SET_SERIES_TABLE_OPTION]: createSetTableOptionReducer(section),
|
||||
|
||||
[SET_SERIES_VALUE]: createSetSettingValueReducer(section),
|
||||
|
||||
[CLEAR_SERIES]: (state) => {
|
||||
|
||||
Reference in New Issue
Block a user