Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #87 from bshivani7/develop
Browse files Browse the repository at this point in the history
marital status issue
  • Loading branch information
devikasuresh20 authored Mar 22, 2024
2 parents 3bc4968 + e5fadcd commit 9ffdf27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ export class RegisterPersonalDetailsComponent implements OnInit {
if (this.personalDataOnHealthIDSubscription) {
this.personalDataOnHealthIDSubscription.unsubscribe();
}
if (this.maritalSubscription){
this.maritalSubscription.unsubscribe();
}
this.registrarService.clearMaritalDetails();
}

setPhoneSelectionEnabledByDefault() {
Expand Down Expand Up @@ -720,8 +718,10 @@ export class RegisterPersonalDetailsComponent implements OnInit {
this.personalDetailsForm.value.ageUnit == "Years"
) {
this.enableMaritalStatus = true;
this.MaritalStatus = true;
} else {
this.enableMaritalStatus = false;
this.MaritalStatus = false;
this.clearMaritalStatus();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export class RegistrarService {
this.isMarriageStatus.next(maritalStatus);

}

clearMaritalDetails() {
this.isMarriageStatus.next(null);
}

// GenerateOTPEnable: any;
// GenerateOTP = new BehaviorSubject(this.GenerateOTPEnable);
Expand Down

0 comments on commit 9ffdf27

Please sign in to comment.