From 7eed2503693f98d0e36a90a0b6770e6b929902ed Mon Sep 17 00:00:00 2001 From: niyobertin Date: Mon, 28 Oct 2024 13:27:25 +0200 Subject: [PATCH] fix(#391):Enable Consistent Edit For All Cohorts -As an admin, I have ability to edit all cohorts that I am permitted to manage --- src/containers/admin-dashBoard/CohortTraineeModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/admin-dashBoard/CohortTraineeModal.tsx b/src/containers/admin-dashBoard/CohortTraineeModal.tsx index a77d06ae0..27e7f1ff0 100644 --- a/src/containers/admin-dashBoard/CohortTraineeModal.tsx +++ b/src/containers/admin-dashBoard/CohortTraineeModal.tsx @@ -46,7 +46,7 @@ export default function CohortTraineeModal({ if (traineeData && traineeData.length > 0) { traineeData?.map((data: any, index: number): any => { datum[index] = {}; - datum[index].name = data.profile.name; + datum[index].name = data.profile.name;// change this line datum[index].email = data.email; datum[index].rating = '2'; datum[index].team = data.team.name;