1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 07:42:28 +00:00

Fixed: Overwriting query params for remove item handler (#7075)

(cherry picked from commit eb2fd1350904cdcc8e7d56147111da40a5df8a11)
This commit is contained in:
Bogdan 2024-08-11 18:51:11 +03:00
parent 36e67fdc2e
commit 1ec1fc4c67

View file

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