mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Add payload to createSaveHandler
This commit is contained in:
parent
713f643b1d
commit
18fd7d452b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function createSaveHandler(section, url) {
|
||||||
dispatch(set({ section, isSaving: true }));
|
dispatch(set({ section, isSaving: true }));
|
||||||
|
|
||||||
const state = getSectionState(getState(), section, true);
|
const state = getSectionState(getState(), section, true);
|
||||||
const saveData = Object.assign({}, state.item, state.pendingChanges);
|
const saveData = Object.assign({}, state.item, state.pendingChanges, payload);
|
||||||
|
|
||||||
const promise = $.ajax({
|
const promise = $.ajax({
|
||||||
url,
|
url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue