Skip to content

Commit aa57766

Browse files
Fixed batch edit issue
1 parent f1c74e2 commit aa57766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/admin-app-repo/src/components/BatchFlow/BatchFlow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ const BatchFlow: React.FC<BatchFlowProps> = ({
375375
buildSchemaAndUi(true, existingValues);
376376
let tempFormData = extractMatchingKeys(row, addSchema);
377377
// Force batch_type to "remote" if centerType is "remote"
378-
if (centerType === 'remote') {
379-
tempFormData.batch_type = 'remote';
378+
if (centerType === 'regular') {
379+
tempFormData.batch_type = 'regular';
380380
}
381381
setPrefilledAddFormData(tempFormData);
382382
setIsEdit(true);

0 commit comments

Comments
 (0)