Skip to content

Commit

Permalink
Change in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth Kothari committed Dec 21, 2023
1 parent 52d4fc2 commit 2bd3593
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 2bd3593

Please sign in to comment.