feat: only show alerts when booking dates are affected
This commit is contained in:
committed by
Simon.Emanuelsson
parent
64b3bd71dc
commit
145a6d2365
@@ -27,6 +27,7 @@ export default async function SelectRatePage({
|
||||
if (!searchDetails?.hotel) {
|
||||
return notFound()
|
||||
}
|
||||
|
||||
const { adultsInRoom, childrenInRoom, hotel, noOfRooms, bookingCode } =
|
||||
searchDetails
|
||||
|
||||
@@ -47,7 +48,7 @@ export default async function SelectRatePage({
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<HotelInfoCard hotel={hotelData.hotel} />
|
||||
<HotelInfoCard booking={booking} hotel={hotelData.hotel} />
|
||||
|
||||
{isInValidFNF ? (
|
||||
<FnFNotAllowedAlert />
|
||||
|
||||
Reference in New Issue
Block a user