From ae42645e6a6df210a9d11b35566ed52cbfd8d0a2 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Wed, 17 Jul 2019 15:48:26 +0300 Subject: [PATCH] My Specialist Page added to Home Page --- Mohem/src/app/home/home.page.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mohem/src/app/home/home.page.ts b/Mohem/src/app/home/home.page.ts index 90a4d636..4a3cf9ec 100644 --- a/Mohem/src/app/home/home.page.ts +++ b/Mohem/src/app/home/home.page.ts @@ -42,7 +42,7 @@ export class HomePage implements OnInit { private geolocation: Geolocation, private attendance_service: AttendanceService, private eitService: EitService - ) {} + ) { } ngOnInit() { this.getUserDetails(); @@ -155,6 +155,8 @@ export class HomePage implements OnInit { this.common.openMyTeamPage(); // this.navCtrl.push("MySubordinatePage"); } else if (item.MENU_TYPE == "S") { + this.common.sharedService.setSharedData(item, 'mySpecList'); + this.common.openMySpecialistPage(); //this.navCtrl.push('MySpecialistPage',{"mySpecList":item}); } else { this.getMenuEntries(item);