From 87bf6b5977b80b4f336650db731d8e47de885c34 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 6 Sep 2020 00:17:16 -0400 Subject: [PATCH] Fixed: Manual Import adding empty rows after selecting movie Co-Authored-By: Mark McDowall --- .../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 da87e72c2..6f5043555 100644 --- a/frontend/src/Store/Actions/interactiveImportActions.js +++ b/frontend/src/Store/Actions/interactiveImportActions.js @@ -129,12 +129,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 })) ])); @@ -166,7 +168,8 @@ export const actionHandlers = handleThunks({ data.map((item) => updateItem({ section, ...item, - isReprocessing: false + isReprocessing: false, + updateOnly: true })) )); }); @@ -180,7 +183,8 @@ export const actionHandlers = handleThunks({ payload.ids.map((id) => updateItem({ section, id, - isReprocessing: false + isReprocessing: false, + updateOnly: true })) )); });