Merged in fix(SW-2057)-My-stay-crashes-when-at-least-2-children-has-the-same-bed-type (pull request #1649)

feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay

* feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay


Approved-by: Niclas Edenvin
This commit is contained in:
Pontus Dreij
2025-03-27 07:35:02 +00:00
parent 1429f7ec32
commit af2bbcddc3
4 changed files with 55 additions and 12 deletions

View File

@@ -99,7 +99,7 @@ export default function useModifyStay({
bookingCode: bookedRoom.bookingCode ?? undefined,
rateCode: bookedRoom.rateDefinition.rateCode,
roomTypeCode: bookedRoom.roomTypeCode,
lang,
inputLang: lang,
})
if (!data?.selectedRoom || data.selectedRoom.roomsLeft <= 0) {