Skip to content

Commit

Permalink
fix(#391):Enable Consistent Edit For All Cohorts
Browse files Browse the repository at this point in the history
-As an admin, I have ability to edit all cohorts that I am permitted to manage
  • Loading branch information
niyobertin committed Oct 28, 2024
1 parent 4321d94 commit 7eed250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/admin-dashBoard/CohortTraineeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7eed250

Please sign in to comment.