From b60da00028acf3de14a2aa769a623a9770c976e1 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 2 Aug 2020 13:27:14 -0700 Subject: [PATCH] Fixed: Manual Import adding empty rows after selecting series Closes #3816 --- .../src/Store/Actions/interactiveImportActions.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/Store/Actions/interactiveImportActions.js b/frontend/src/Store/Actions/interactiveImportActions.js index 367b3d454..308c2c893 100644 --- a/frontend/src/Store/Actions/interactiveImportActions.js +++ b/frontend/src/Store/Actions/interactiveImportActions.js @@ -149,12 +149,14 @@ export const actionHandlers = handleThunks({ ...currentIds.map((id) => updateItem({ section, id, - isReprocessing: false + isReprocessing: false, + updateOnly: true })), ...payload.ids.map((id) => updateItem({ section, id, - isReprocessing: true + isReprocessing: true, + updateOnly: true })) ])); @@ -186,7 +188,8 @@ export const actionHandlers = handleThunks({ data.map((item) => updateItem({ section, ...item, - isReprocessing: false + isReprocessing: false, + updateOnly: true })) )); }); @@ -200,7 +203,8 @@ export const actionHandlers = handleThunks({ payload.ids.map((id) => updateItem({ section, id, - isReprocessing: false + isReprocessing: false, + updateOnly: true })) )); });