feat(SW-718) Fixed filtering with multirooms

This commit is contained in:
Pontus Dreij
2025-01-21 14:40:39 +01:00
parent edcf146ce1
commit 328cbbe0e1
16 changed files with 326 additions and 151 deletions

View File

@@ -12,6 +12,7 @@ export function RoomSelectionPanel({
hotelType,
handleFilter,
defaultPackages,
roomListIndex,
}: RoomSelectionPanelProps) {
return (
<>
@@ -19,6 +20,7 @@ export function RoomSelectionPanel({
numberOfRooms={rooms.roomConfigurations.length}
onFilter={handleFilter}
filterOptions={defaultPackages}
roomListIndex={roomListIndex}
/>
<RoomList
roomsAvailability={rooms}
@@ -27,6 +29,7 @@ export function RoomSelectionPanel({
selectedPackages={selectedPackages}
setRateCode={setSelectedRate}
hotelType={hotelType}
roomListIndex={roomListIndex}
/>
</>
)