From 18fd7d452b4a1d75273cf2e814db2268a8ac37a2 Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 14 Sep 2018 23:14:02 -0400 Subject: [PATCH] Fixed: Add payload to createSaveHandler --- frontend/src/Store/Actions/Creators/createSaveHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Store/Actions/Creators/createSaveHandler.js b/frontend/src/Store/Actions/Creators/createSaveHandler.js index 8711e4acd..e63c9f993 100644 --- a/frontend/src/Store/Actions/Creators/createSaveHandler.js +++ b/frontend/src/Store/Actions/Creators/createSaveHandler.js @@ -8,7 +8,7 @@ function createSaveHandler(section, url) { dispatch(set({ section, isSaving: 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({ url,