|
|
|
@ -315,6 +315,7 @@ export class HomeComponent implements OnInit {
|
|
|
|
modal.onDidDismiss()
|
|
|
|
modal.onDidDismiss()
|
|
|
|
.then((data) => {
|
|
|
|
.then((data) => {
|
|
|
|
console.log(data);
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
if (data.data && data.data.actionClicked === 'next') {
|
|
|
|
this.cs.sharedService.setSharedData(data.data, ProfileService.SELECTED_STATUS);
|
|
|
|
this.cs.sharedService.setSharedData(data.data, ProfileService.SELECTED_STATUS);
|
|
|
|
if (data.data && data.data.data == 1 && source === 'address') {
|
|
|
|
if (data.data && data.data.data == 1 && source === 'address') {
|
|
|
|
this.cs.sharedService.setSharedData(this.addressSubMenu, ProfileService.ADRESS_ENTRIES);
|
|
|
|
this.cs.sharedService.setSharedData(this.addressSubMenu, ProfileService.ADRESS_ENTRIES);
|
|
|
|
@ -329,8 +330,7 @@ export class HomeComponent implements OnInit {
|
|
|
|
} else if (data.data && data.data.data == 2 && source === 'basicDetails') {
|
|
|
|
} else if (data.data && data.data.data == 2 && source === 'basicDetails') {
|
|
|
|
this.cs.openAddBasicDetails('new');
|
|
|
|
this.cs.openAddBasicDetails('new');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return await modal.present();
|
|
|
|
return await modal.present();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|