Merged in fix/remove-filter-to-show-all-hotels (pull request #925)
Fix/remove filter to show all hotels * fix: remove filter to show all hotels on select-hotel-page * fix: add missing translations Approved-by: Pontus Dreij
This commit is contained in:
@@ -468,12 +468,9 @@ export const hotelQueryRouter = router({
|
||||
})
|
||||
)
|
||||
return {
|
||||
availability: validateAvailabilityData.data.data
|
||||
.filter(
|
||||
(hotels) =>
|
||||
hotels.attributes.status === AvailabilityEnum.Available
|
||||
)
|
||||
.flatMap((hotels) => hotels.attributes),
|
||||
availability: validateAvailabilityData.data.data.flatMap(
|
||||
(hotels) => hotels.attributes
|
||||
),
|
||||
}
|
||||
}),
|
||||
rooms: serviceProcedure
|
||||
|
||||
Reference in New Issue
Block a user