Skip to content

Commit

Permalink
BAH-3983 | Fix. Remove Broken IPD Tab in Clinical
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh authored Jun 24, 2024
1 parent 6d04f60 commit 9a1bec3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ui/app/clinical/dashboard/services/clinicalDashboardConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,9 @@
angular.module('bahmni.clinical')
.service('clinicalDashboardConfig', ['appService', function (appService) {
var self = this;

var customIPD = {
displayByDefault: false,
sections: {},
maxRecentlyViewedPatients: 10,
translationKey: "DASHBOARD_TAB_IPD_KEY"
};
this.load = function () {
return appService.loadConfig('dashboard.json').then(function (response) {
var hacked = Object.assign({}, response, {IPD: customIPD});
angular.extend(self, new Bahmni.Clinical.ClinicalDashboardConfig(_.values(hacked)));
angular.extend(self, new Bahmni.Clinical.ClinicalDashboardConfig(_.values(response)));
});
};
}]);

0 comments on commit 9a1bec3

Please sign in to comment.