Merged in feat/SW-1261 (pull request #1263)

feat: only show member price when logged in

* feat: only show member price when logged in


Approved-by: Michael Zetterberg
This commit is contained in:
Simon.Emanuelsson
2025-02-07 08:51:50 +00:00
parent c0f5c0278b
commit c204532acc
27 changed files with 479 additions and 238 deletions

View File

@@ -55,7 +55,6 @@ export default async function StepPage({
// Deleting step to avoid double searchparams after rewrite
selectRoomParams.delete("step")
const booking = convertSearchParamsToObj<SelectRateSearchParams>(searchParams)
const {
hotelId,
rooms: [
@@ -153,8 +152,8 @@ export default async function StepPage({
}
: undefined
const arrivalDate = new Date(searchParams.fromdate)
const departureDate = new Date(searchParams.todate)
const arrivalDate = new Date(fromDate)
const departureDate = new Date(toDate)
const hotelAttributes = hotelData?.hotel
const initialHotelsTrackingData: TrackingSDKHotelInfo = {