|
|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
import { MyTeamService } from './../../my-team/service/my-team.service';
|
|
|
|
|
import { MySpecialistService } from './../service/my-specialist.service';
|
|
|
|
|
import { SpecialistResponse } from './../models/specialist.response';
|
|
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
|
@ -134,7 +135,9 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
private getSpecialistInfo(i) {
|
|
|
|
|
// this.navCtrl.push("MyTeamPage", { employee: this.specialistEmpList[i], isSpecialist: true });
|
|
|
|
|
this.cs.openMyTeamPage();
|
|
|
|
|
this.cs.sharedService.setSharedData(this.specialistEmpList[i], MyTeamService.EMPLOYEE_SHARED_DATA);
|
|
|
|
|
this.cs.sharedService.setSharedData(true, 'isSpecialist');
|
|
|
|
|
this.cs.openMyTeamDetails();
|
|
|
|
|
}
|
|
|
|
|
doInfinite(infiniteScroll) {
|
|
|
|
|
if (!this.IsReachEnd) {
|
|
|
|
|
|