Fixed: Overwriting query params for remove item handler

pull/10287/head
Bogdan 3 months ago committed by Qstick
parent 2f413c68d9
commit f75497f57d

@ -7,7 +7,7 @@ function createRemoveItemHandler(section, url) {
return function(getState, payload, dispatch) {
const {
id,
...queryParams
queryParams
} = payload;
dispatch(set({ section, isDeleting: true }));

@ -377,7 +377,8 @@ export const deleteMovie = createThunk(DELETE_MOVIE, (payload) => {
return {
...payload,
queryParams: {
deleteFiles: payload.deleteFiles
deleteFiles: payload.deleteFiles,
addImportExclusion: payload.addImportExclusion
}
};
});

Loading…
Cancel
Save