Skip to content

Commit

Permalink
Merge pull request #20 from chaitanyakole/demo_issue
Browse files Browse the repository at this point in the history
Bug #232354, Bug #233015, Bug #233020,Bug #233021,Bug #233023,Bug #233026,Bug #233029
  • Loading branch information
gouravmore authored Jan 15, 2025
2 parents a1efc80 + a9a443d commit d21cb5c
Show file tree
Hide file tree
Showing 15 changed files with 216 additions and 484 deletions.
7 changes: 5 additions & 2 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@
"DELETE_SUCCESSFULLY": "Cohort Deleted Successfully",
"ALL_STATES": "All States",
"COHORT_MEMBER": "Cohort",
"ADD_NEW_COHORT_ADMIN": "Add New Cohort Admin"
"ADD_NEW_COHORT_ADMIN": "Add New Cohort Admin",
"COHORT_UPDATED_SUCCESSFULLY": "Cohort Details Updated Successfully",
"COHORT_UPDATED_FAILED": "Cohort Details Updation Failed"
},
"COURSE_PLANNER": {
"GRADE": "Grade",
Expand Down Expand Up @@ -431,7 +433,8 @@
"USERNAME": "Username",
"DOMAIN": "Domain",
"CREATE_TENANT_ADMIN": "Create Tenant Admin",
"CREATE_COHORT_ADMIN": "Create Cohort Admin"
"CREATE_COHORT_ADMIN": "Create Cohort Admin",
"USERID": "UserId"
},
"WORKSPACE": {
"EDITOR_WORKSPACE": "Editor Workspace",
Expand Down
2 changes: 1 addition & 1 deletion src/components/CommonUserModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ const CommonUserModal: React.FC<UserModalProps> = ({
userData: userData,
customFields: customFields,
};
await updateUser(userId, object);
await updateUser(userId, object, "");
const messageKey =
userType === FormContextType.STUDENT
? "LEARNERS.LEARNER_UPDATED_SUCCESSFULLY"
Expand Down
Loading

0 comments on commit d21cb5c

Please sign in to comment.