File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ const BedCard = ({
164
164
165
165
export const BedManagement = ( props : BedManagementProps ) => {
166
166
const { facilityId, locationId } = props ;
167
- const { qParams, resultsPerPage } = useFilters ( { } ) ;
167
+ const { qParams, resultsPerPage } = useFilters ( { limit : 16 } ) ;
168
168
const { t } = useTranslation ( ) ;
169
169
170
170
const { data : location } = useQuery ( routes . getFacilityAssetLocation , {
@@ -178,10 +178,10 @@ export const BedManagement = (props: BedManagementProps) => {
178
178
< PaginatedList
179
179
route = { routes . listFacilityBeds }
180
180
pathParams = { { facility_external_id : facilityId } }
181
+ perPage = { resultsPerPage }
181
182
query = { {
182
183
facility : facilityId ,
183
184
location : locationId ,
184
- limit : resultsPerPage ,
185
185
offset : ( qParams . page ? qParams . page - 1 : 0 ) * resultsPerPage ,
186
186
} }
187
187
>
You can’t perform that action at this time.
0 commit comments