Merged in fix/BOOK-130-booking-code-filtering (pull request #2868)

fix(BOOK-130): update booking code filtering on map view and filter and sort modal

* fix(BOOK-130): update booking code filtering on map view and filter and sort modal

* fix(BOOK-130): change name of filteredIds

* fix(BOOK-130): add initial value reduce


Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
This commit is contained in:
Bianca Widstam
2025-09-26 08:03:25 +00:00
parent b72f4c71e3
commit 7f3fd0c7a6
11 changed files with 63 additions and 63 deletions

View File

@@ -104,7 +104,7 @@ export async function AlternativeHotelsMapPage({
isRedemptionAvailable: isRedemptionAvailability,
})
const filterList = getFiltersFromHotels(hotels)
const filterList = getFiltersFromHotels(hotels, isBookingCodeRateAvailable)
return (
<MapContainer>

View File

@@ -105,7 +105,7 @@ export async function SelectHotelMapPage({
isRedemptionAvailable: isRedemptionAvailability,
})
const filterList = getFiltersFromHotels(hotels)
const filterList = getFiltersFromHotels(hotels, isBookingCodeRateAvailable)
const suspenseKey = stringify(searchParams)