We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c74e2 commit aa57766Copy full SHA for aa57766
apps/admin-app-repo/src/components/BatchFlow/BatchFlow.tsx
@@ -375,8 +375,8 @@ const BatchFlow: React.FC<BatchFlowProps> = ({
375
buildSchemaAndUi(true, existingValues);
376
let tempFormData = extractMatchingKeys(row, addSchema);
377
// Force batch_type to "remote" if centerType is "remote"
378
- if (centerType === 'remote') {
379
- tempFormData.batch_type = 'remote';
+ if (centerType === 'regular') {
+ tempFormData.batch_type = 'regular';
380
}
381
setPrefilledAddFormData(tempFormData);
382
setIsEdit(true);
0 commit comments