Merged in fix/SW-940-sort-by-price (pull request #946)
fix(SW-940): change logic for price sorting * fix(SW-940): change logic for price sorting * fix(SW-940): change logic for price sorting Approved-by: Pontus Dreij
This commit is contained in:
@@ -51,7 +51,7 @@ export default function HotelCardListing({
|
|||||||
return (
|
return (
|
||||||
hotel.price?.member?.localPrice?.pricePerNight ??
|
hotel.price?.member?.localPrice?.pricePerNight ??
|
||||||
hotel.price?.public?.localPrice?.pricePerNight ??
|
hotel.price?.public?.localPrice?.pricePerNight ??
|
||||||
0
|
Infinity
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return [...hotelData].sort(
|
return [...hotelData].sort(
|
||||||
|
|||||||
Reference in New Issue
Block a user