Skip to content

Commit ddff96e

Browse files
authored
Merge pull request #2495 from tekdi/release-1.13.0-prod-fix
Release 1.13.0 prod fix to teacher prod
2 parents d1356fb + 110865d commit ddff96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfes/scp-teacher-repo/src/components/UserRegistration/AssignBatchModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ const AssignBatchModal: React.FC<AssignBatchModalProps> = ({
284284
});
285285
console.log('allBatchDetails', allBatchDetails);
286286
// Store all batches for later filtering by center
287-
const allBatchOptions = allBatchDetails?.filter((batch: any) => batch.cohortMemberStatus==="active").map((batch: any) => ({
287+
const allBatchOptions = allBatchDetails?.map((batch: any) => ({
288288
label:
289289
capitalizeFirstChar(batch.name || batch.cohortName) ||
290290
t('USER_REGISTRATION.UNNAMED_BATCH'),

0 commit comments

Comments
 (0)