diff --git a/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js b/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js index dfe29ace8..3de794bdf 100644 --- a/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js +++ b/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js @@ -7,7 +7,7 @@ function createRemoveItemHandler(section, url) { return function(getState, payload, dispatch) { const { id, - ...queryParams + queryParams } = payload; dispatch(set({ section, isDeleting: true })); diff --git a/frontend/src/Store/Actions/movieActions.js b/frontend/src/Store/Actions/movieActions.js index e9bf36a4f..3f66b0740 100644 --- a/frontend/src/Store/Actions/movieActions.js +++ b/frontend/src/Store/Actions/movieActions.js @@ -377,7 +377,8 @@ export const deleteMovie = createThunk(DELETE_MOVIE, (payload) => { return { ...payload, queryParams: { - deleteFiles: payload.deleteFiles + deleteFiles: payload.deleteFiles, + addImportExclusion: payload.addImportExclusion } }; });