1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fixed: Manual Import adding empty rows after selecting movie

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2020-09-06 00:17:16 -04:00
parent 7ddb8ecc37
commit 87bf6b5977

View File

@ -129,12 +129,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
})) }))
])); ]));
@ -166,7 +168,8 @@ export const actionHandlers = handleThunks({
data.map((item) => updateItem({ data.map((item) => updateItem({
section, section,
...item, ...item,
isReprocessing: false isReprocessing: false,
updateOnly: true
})) }))
)); ));
}); });
@ -180,7 +183,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
})) }))
)); ));
}); });