Skip to content

Commit

Permalink
[Rahul] | BAH-3334 | Fix. ESLint Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh committed Jul 18, 2024
1 parent 8c515ca commit af2a54c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ angular.module('bahmni.common.displaycontrol.dashboard')
}).find(function (section) {
return section.type === Bahmni.Common.Constants.formsV2ReactDisplayControlType;
});
return ( section && section.dashboardConfig !== undefined && section.dashboardConfig !== null ) ? section.dashboardConfig : null;
return (section && section.dashboardConfig !== undefined && section.dashboardConfig !== null) ? section.dashboardConfig : null;
};

if ($scope.patient !== undefined) {
Expand Down

0 comments on commit af2a54c

Please sign in to comment.