Fixed: Persist selected filter for interactive searches

pull/10196/head
Bogdan 3 months ago
parent ce9c5d4d97
commit caabb032f3

@ -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 }) => {

Loading…
Cancel
Save