We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1356fb + 110865d commit ddff96eCopy full SHA for ddff96e
mfes/scp-teacher-repo/src/components/UserRegistration/AssignBatchModal.tsx
@@ -284,7 +284,7 @@ const AssignBatchModal: React.FC<AssignBatchModalProps> = ({
284
});
285
console.log('allBatchDetails', allBatchDetails);
286
// Store all batches for later filtering by center
287
- const allBatchOptions = allBatchDetails?.filter((batch: any) => batch.cohortMemberStatus==="active").map((batch: any) => ({
+ const allBatchOptions = allBatchDetails?.map((batch: any) => ({
288
label:
289
capitalizeFirstChar(batch.name || batch.cohortName) ||
290
t('USER_REGISTRATION.UNNAMED_BATCH'),
0 commit comments