Fixed: Manual Import adding empty rows after selecting series

Closes #3816
This commit is contained in:
Mark McDowall 2020-08-02 13:27:14 -07:00
parent 13c444bba6
commit b60da00028
1 changed files with 8 additions and 4 deletions

View File

@ -149,12 +149,14 @@ export const actionHandlers = handleThunks({
...currentIds.map((id) => updateItem({ ...currentIds.map((id) => updateItem({
section, section,
id, id,
isReprocessing: false isReprocessing: false,
updateOnly: true
})), })),
...payload.ids.map((id) => updateItem({ ...payload.ids.map((id) => updateItem({
section, section,
id, id,
isReprocessing: true isReprocessing: true,
updateOnly: true
})) }))
])); ]));
@ -186,7 +188,8 @@ export const actionHandlers = handleThunks({
data.map((item) => updateItem({ data.map((item) => updateItem({
section, section,
...item, ...item,
isReprocessing: false isReprocessing: false,
updateOnly: true
})) }))
)); ));
}); });
@ -200,7 +203,8 @@ export const actionHandlers = handleThunks({
payload.ids.map((id) => updateItem({ payload.ids.map((id) => updateItem({
section, section,
id, id,
isReprocessing: false isReprocessing: false,
updateOnly: true
})) }))
)); ));
}); });