mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-02 14:17:19 +02:00
Fixed: Persist selected filter for interactive searches
This commit is contained in:
parent
ce9c5d4d97
commit
caabb032f3
@ -306,7 +306,12 @@ export const actionHandlers = handleThunks({
|
|||||||
export const reducers = createHandleActions({
|
export const reducers = createHandleActions({
|
||||||
|
|
||||||
[CLEAR_RELEASES]: (state) => {
|
[CLEAR_RELEASES]: (state) => {
|
||||||
return Object.assign({}, state, defaultState);
|
const {
|
||||||
|
selectedFilterKey,
|
||||||
|
...otherDefaultState
|
||||||
|
} = defaultState;
|
||||||
|
|
||||||
|
return Object.assign({}, state, otherDefaultState);
|
||||||
},
|
},
|
||||||
|
|
||||||
[UPDATE_RELEASE]: (state, { payload }) => {
|
[UPDATE_RELEASE]: (state, { payload }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user