|
|
|
|
@ -235,7 +235,7 @@ export class DetailsComponent implements OnInit {
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
this.common.startLoading();
|
|
|
|
|
this.intializeMemberDetail();
|
|
|
|
|
this.showAttendanceTracking();
|
|
|
|
|
// this.showAttendanceTracking();
|
|
|
|
|
// tslint:disable-next-line: max-line-length
|
|
|
|
|
this.currentMonthName = this.direction === 'en' ? this.common.getMonthName(this.monthIndex) : this.common.getMonthNameAr(this.monthIndex);
|
|
|
|
|
}
|
|
|
|
|
@ -266,6 +266,7 @@ export class DetailsComponent implements OnInit {
|
|
|
|
|
if (this.activeSegment === 'Attendance') {
|
|
|
|
|
this.common.startLoading();
|
|
|
|
|
this.initAttendance();
|
|
|
|
|
this.showAttendanceTracking();
|
|
|
|
|
}
|
|
|
|
|
else if (this.activeSegment != 'Attendance' && this.activeSegment != 'TeamMembers') {
|
|
|
|
|
this.activeSegment = 'About';
|
|
|
|
|
|