mirror of
https://github.com/Sonarr/Sonarr
synced 2025-12-06 08:28:37 +01:00
parent
c199fd05d3
commit
106ffd410c
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue