mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-05 13:20:20 -05:00
committed by
Mark McDowall
parent
c199fd05d3
commit
106ffd410c
@@ -24,6 +24,11 @@ export const defaultState = {
|
||||
items: []
|
||||
};
|
||||
|
||||
export const persistState = [
|
||||
'episodeSelection.sortKey',
|
||||
'episodeSelection.sortDirection'
|
||||
];
|
||||
|
||||
//
|
||||
// Actions Types
|
||||
|
||||
@@ -54,7 +59,9 @@ export const reducers = createHandleActions({
|
||||
|
||||
[CLEAR_EPISODES]: (state) => {
|
||||
return updateSectionState(state, section, {
|
||||
...defaultState
|
||||
...defaultState,
|
||||
sortKey: state.sortKey,
|
||||
sortDirection: state.sortDirection
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user