|
|
|
|
@ -130,8 +130,8 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
selectedSegment(segmentData){
|
|
|
|
|
switch (segmentData){
|
|
|
|
|
selectedSegment(segmentData) {
|
|
|
|
|
switch (segmentData) {
|
|
|
|
|
case "personal":
|
|
|
|
|
this.personalInfoSegment = true;
|
|
|
|
|
this.basicDetailsSegment = false;
|
|
|
|
|
@ -156,8 +156,8 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
allowEdit(allowVal){
|
|
|
|
|
switch(allowVal){
|
|
|
|
|
allowEdit(allowVal) {
|
|
|
|
|
switch (allowVal) {
|
|
|
|
|
case 1:
|
|
|
|
|
this.editBasic = true;
|
|
|
|
|
break;
|
|
|
|
|
@ -167,15 +167,15 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
disableEdit(disableVal){
|
|
|
|
|
switch(disableVal){
|
|
|
|
|
disableEdit(disableVal) {
|
|
|
|
|
switch (disableVal) {
|
|
|
|
|
case 1:
|
|
|
|
|
this.editBasic = false;
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
this.editAddress = false;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -187,5 +187,9 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
});
|
|
|
|
|
return await modal.present();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
updateImageProfile() {
|
|
|
|
|
this.cs.openChangeImagePage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|