Skip to content

Commit

Permalink
Merge pull request #21 from KB-iGOT/mentorship-changes
Browse files Browse the repository at this point in the history
Mentorship changes
  • Loading branch information
vishnubansaltarento authored Sep 1, 2024
2 parents 603c2c5 + 7089179 commit dff6523
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ export class UserCardComponent implements OnInit, OnChanges, AfterViewChecked {
currentUserRole = ''
checked = false
constructor(private usersSvc: UsersService, private roleservice: RolesService,
private dialog: MatDialog, private approvalSvc: ApprovalsService,
private route: ActivatedRoute, private snackBar: MatSnackBar,
private events: EventService,
private datePipe: DatePipe,
private cdr: ChangeDetectorRef) {
private dialog: MatDialog, private approvalSvc: ApprovalsService,
private route: ActivatedRoute, private snackBar: MatSnackBar,
private events: EventService,
private datePipe: DatePipe,
private cdr: ChangeDetectorRef) {
this.updateUserDataForm = new FormGroup({
designation: new FormControl('', []),
group: new FormControl('', [Validators.required]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export class MentorManageComponent implements OnInit, OnDestroy {
// }
}


ngOnInit() {
this.currentFilter = this.route.snapshot.params['tab'] || 'verified'
this.rootOrgId = _.get(this.route.snapshot.parent, 'data.configService.unMappedUser.rootOrg.rootOrgId')
Expand All @@ -107,7 +106,7 @@ export class MentorManageComponent implements OnInit, OnDestroy {
setTimeout(() => {
this.getAllVerifiedUsers('')
this.getMentorUsers('')
}, 1000)
}, 1000)

})
this.getAllVerifiedUsers('')
Expand All @@ -121,7 +120,7 @@ export class MentorManageComponent implements OnInit, OnDestroy {
// tslint:disable-next-line: max-line-length
`Assign a mentor from the <strong>All Verified Users</strong> tab, and they will automatically appear in the <strong>Assigned Mentors</strong> tab.`,
// tslint:disable-next-line: max-line-length
`Mentors can be assigned or managed from either tab, with changes reflected across both.`
`Mentors can be assigned or managed from either tab, with changes reflected across both.`,
]
}

Expand Down

0 comments on commit dff6523

Please sign in to comment.