From d4b6446f10ea680d3d11b79af06ae5bf91f7576e Mon Sep 17 00:00:00 2001 From: vishnubansaltarento Date: Sun, 1 Sep 2024 13:33:48 +0530 Subject: [PATCH] update for mentorship issues --- .../home/components/user-cards/user-card.component.ts | 10 +++++----- .../routes/mentor-manage/mentor-manage.component.ts | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/project/ws/app/src/lib/routes/home/components/user-cards/user-card.component.ts b/project/ws/app/src/lib/routes/home/components/user-cards/user-card.component.ts index 22dd663aa..41e3b4a0f 100644 --- a/project/ws/app/src/lib/routes/home/components/user-cards/user-card.component.ts +++ b/project/ws/app/src/lib/routes/home/components/user-cards/user-card.component.ts @@ -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]), diff --git a/project/ws/app/src/lib/routes/home/routes/mentor-manage/mentor-manage.component.ts b/project/ws/app/src/lib/routes/home/routes/mentor-manage/mentor-manage.component.ts index db86e1260..c152b61f9 100644 --- a/project/ws/app/src/lib/routes/home/routes/mentor-manage/mentor-manage.component.ts +++ b/project/ws/app/src/lib/routes/home/routes/mentor-manage/mentor-manage.component.ts @@ -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') @@ -107,7 +106,7 @@ export class MentorManageComponent implements OnInit, OnDestroy { setTimeout(() => { this.getAllVerifiedUsers('') this.getMentorUsers('') - }, 1000) + }, 1000) }) this.getAllVerifiedUsers('') @@ -121,7 +120,7 @@ export class MentorManageComponent implements OnInit, OnDestroy { // tslint:disable-next-line: max-line-length `Assign a mentor from the All Verified Users tab, and they will automatically appear in the Assigned Mentors 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.`, ] }