Skip to content

Commit

Permalink
Merge pull request #17 from KpParth/develop
Browse files Browse the repository at this point in the history
Chnage in condition for populate dropdown
  • Loading branch information
devikasuresh20 authored Dec 21, 2023
2 parents 706fbc3 + 8236561 commit 7775cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/closure/closure.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ export class ClosureComponent implements OnInit {
this.benDetailsSelectedData = value;

if ((this.current_role.toUpperCase() === "RO") && (this.benDetailsSelectedData === null || this.benDetailsSelectedData === undefined || this.benDetailsSelectedData === "")) {
if (response !== null || response !== undefined || response.length > 0) {
if (response !== null && response !== undefined && response.length > 0) {
this.transferCallArr = response.filter(function (item) {
return item.subServiceName === 'Health Advisory Service';
});
Expand All @@ -1572,7 +1572,7 @@ export class ClosureComponent implements OnInit {
}

else {
if (response !== null || response !== undefined || response.length > 0) {
if (response !== null && response !== undefined && response.length > 0) {
this.transferCallArr = response;
// transferCallArr = response;
}
Expand Down

0 comments on commit 7775cca

Please sign in to comment.