mirror of
https://github.com/Radarr/Radarr
synced 2026-05-08 15:11:15 +02:00
Fixed: Persist selected filter for interactive searches
This commit is contained in:
parent
ce9c5d4d97
commit
caabb032f3
1 changed files with 6 additions and 1 deletions
|
|
@ -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 a new issue