File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import {
3434 URL_USER_ROLES ,
3535 URL_FHIR_CARE_TEAM ,
3636 URL_TEAM_ASSIGNMENT ,
37+ URL_ALL_LOCATIONS ,
3738} from '../constants' ;
3839import { providers } from '../configs/settings' ;
3940import CustomConnectedAPICallBack from '../components/page/CustomCallback' ;
@@ -81,6 +82,7 @@ import {
8182import {
8283 LocationUnitList as FHIRLocationUnitList ,
8384 NewEditLocationUnit as FHIRNewEditLocationUnit ,
85+ AllLocationListFlat as ListAllLocationsFlat ,
8486} from '@opensrp/fhir-location-management' ;
8587import {
8688 teamAffiliationProps ,
@@ -361,6 +363,15 @@ const FHIRApps = () => {
361363 { ...locationUnitProps }
362364 permissions = { [ 'Location.read' ] }
363365 component = { FHIRLocationUnitList }
366+ />
367+ < PrivateComponent
368+ redirectPath = { APP_CALLBACK_URL }
369+ disableLoginProtection = { DISABLE_LOGIN_PROTECTION }
370+ exact
371+ path = { URL_ALL_LOCATIONS }
372+ { ...locationUnitProps }
373+ permissions = { [ 'Location.read' ] }
374+ component = { ListAllLocationsFlat }
364375 />
365376 < PrivateComponent
366377 redirectPath = { APP_CALLBACK_URL }
You can’t perform that action at this time.
0 commit comments