1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-19 17:32:38 +01:00

Fixed: Persist selected filter for interactive searches

This commit is contained in:
Bogdan 2024-08-13 23:30:21 +03:00
parent ce9c5d4d97
commit caabb032f3

View File

@ -306,7 +306,12 @@ export const actionHandlers = handleThunks({
export const reducers = createHandleActions({
[CLEAR_RELEASES]: (state) => {
return Object.assign({}, state, defaultState);
const {
selectedFilterKey,
...otherDefaultState
} = defaultState;
return Object.assign({}, state, otherDefaultState);
},
[UPDATE_RELEASE]: (state, { payload }) => {