Skip to content

Commit

Permalink
Update minor change in workarea.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
helenKaryamsetty authored Dec 16, 2024
1 parent 21f28b5 commit 86bd579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3255,7 +3255,7 @@ export class WorkareaComponent
console.log('workLocationId', workLocationId);
this.registrarService.getMappedFacility(workLocationId).subscribe(
(res: any) => {
if (res.statusCode === 200 && res.data != null) {
if (res.statusCode === 200 && res.data !== null) {
const data = res.data;
if (data.abdmFacilityID && data.abdmFacilityName) {
this.abdmFacilityId = data.abdmFacilityID;
Expand Down

0 comments on commit 86bd579

Please sign in to comment.