Skip to content

Commit

Permalink
Samyuktha | Fix. Title of photo capture popup.
Browse files Browse the repository at this point in the history
  • Loading branch information
saisamyukthag committed Jun 9, 2024
1 parent a0333e4 commit 11b77e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/registration/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ angular
}]).run(['$rootScope', '$templateCache', '$bahmniCookieStore', 'locationService', 'messagingService', 'auditLogService',
'$window', function ($rootScope, $templateCache, $bahmniCookieStore, locationService,
messagingService, auditLogService, $window) {
moment.locale($window.localStorage["NG_TRANSLATE_LANG_KEY"] || "en");
var getStates = function (toState, fromState) {
var states = [];
if (fromState === "newpatient" && (toState === "patient.edit" || toState === "patient.visit")) {
Expand All @@ -98,7 +99,6 @@ angular
}
return states;
};
moment.locale($window.localStorage["NG_TRANSLATE_LANG_KEY"] || "en");
var loginLocationUuid = $bahmniCookieStore.get(Bahmni.Common.Constants.locationCookieName).uuid;
locationService.getVisitLocation(loginLocationUuid).then(function (response) {
if (response.data) {
Expand Down

0 comments on commit 11b77e9

Please sign in to comment.