feat(SW-1012): Added possibility for multiple include params for hotels

This commit is contained in:
Erik Tiekstra
2024-11-26 11:07:47 +01:00
committed by Fredrik Thorsson
parent 92bbfcf533
commit 05006506f0
17 changed files with 218 additions and 57 deletions

View File

@@ -32,7 +32,7 @@ export default function HotelReservationSidePeek({
}
)
const selectedRoom = hotelData?.included?.find((room) =>
const selectedRoom = hotelData?.included?.rooms?.find((room) =>
room.roomTypes.some((type) => type.code === roomTypeCode)
)