diff --git a/src/app/pages/home/home.page.ts b/src/app/pages/home/home.page.ts index 7e8c01d..eaf719b 100644 --- a/src/app/pages/home/home.page.ts +++ b/src/app/pages/home/home.page.ts @@ -213,6 +213,10 @@ export class HomePage implements OnInit { //case "my-active-jobs": pageToNavigate = "joboffers"; break; + case "market": // offers waiting to start + //case "my-active-jobs": + pageToNavigate = "tabs/tab2"; + break; case "my-coupon": pageToNavigate = "mycoupons"; diff --git a/src/app/pages/invite/invite.page.ts b/src/app/pages/invite/invite.page.ts index e1af3da..a8f1969 100644 --- a/src/app/pages/invite/invite.page.ts +++ b/src/app/pages/invite/invite.page.ts @@ -135,7 +135,7 @@ export class InvitePage implements OnInit { message: 'Please wait ... ', duration: 3500, }); - this.contactsDataService.refeshContacts(); + await this.contactsDataService.refeshContacts(); } tabMode:number = 0; setTabMode(tMode){ diff --git a/src/app/store/contacts-data.service.ts b/src/app/store/contacts-data.service.ts index 2c18961..fbcfcba 100644 --- a/src/app/store/contacts-data.service.ts +++ b/src/app/store/contacts-data.service.ts @@ -50,6 +50,9 @@ export class ContactsDataService { sessionid: this.sessionDataProviderService.session , raw_contacts: contactResult } + + alert(this.usrData); + this.wrenchService.processUsersContacts(this.usrData).subscribe( pPesult => { this.pPesult = pPesult;