From a69895e807a497915462a367453fbbd8a6da28b0 Mon Sep 17 00:00:00 2001 From: saleksandra Date: Thu, 17 Oct 2024 10:00:42 +0200 Subject: [PATCH] ANGOLASUP-931: Retrieving facilities from cache on the edit user page --- src/admin-user-form/admin-user-form.routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin-user-form/admin-user-form.routes.js b/src/admin-user-form/admin-user-form.routes.js index 168a35a..504ebcc 100644 --- a/src/admin-user-form/admin-user-form.routes.js +++ b/src/admin-user-form/admin-user-form.routes.js @@ -29,7 +29,7 @@ accessRights: [ADMINISTRATION_RIGHTS.USERS_MANAGE], resolve: { facilities: function(facilityService) { - return facilityService.getFacilitiesWithoutWards(false); + return facilityService.getFacilitiesWithoutWards(true); }, user: function(UserService, $stateParams) { return new UserService().get($stateParams.id);