Skip to content

Commit

Permalink
Merge branch 'develop' of http://10.208.122.42/iemrv1/helpline-1097-ui
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
Karyamsetty Helen Grace authored and Karyamsetty Helen Grace committed May 19, 2023
2 parents f086379 + 9965e33 commit ec0774c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/app/closure/closure.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ export class ClosureComponent implements OnInit {
/* On selection of beneficiary, validate the call types*/
this.saved_data.beneficiary_regID_subject.subscribe((response) => {
this.setBenRegID(response);
if (
(this.saved_data.beneficiaryRegID !== undefined &&
this.saved_data.beneficiaryRegID !== null) ||
(this.saved_data.benRegId !== undefined &&
this.saved_data.benRegId !== null)
) {
// if (
// (this.saved_data.beneficiaryRegID !== undefined &&
// this.saved_data.beneficiaryRegID !== null) ||
// (this.saved_data.benRegId !== undefined &&
// this.saved_data.benRegId !== null)
// ) {
this.calltypes = calls.filter((item) => {
if (
item != undefined &&
Expand All @@ -263,13 +263,13 @@ export class ClosureComponent implements OnInit {
);
}
});
} else {
// On submit & continue
this.filterInvalidCallType(calls);
}
// } else {
// // On submit & continue
// this.filterInvalidCallType(calls);
// }
});
// Initial landing
this.filterInvalidCallType(calls);
// this.filterInvalidCallType(calls);
}
}
filterInvalidCallType(calls) {
Expand Down

0 comments on commit ec0774c

Please sign in to comment.