From 401c4ba6d1b2294b03657f14a7e6bae5cfea32ae Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Mon, 23 Jun 2025 08:45:01 +0000 Subject: [PATCH] Merged in fix/SW-3087-price-details-error (pull request #2402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(SW-3087): Added missing property that caused error in PriceDetailsModal * fix(SW-3087): Added missing property that caused error in PriceDetailsModal Approved-by: Arvid Norlin Approved-by: Matilda Landström --- .../RoomsContainer/RateSummary/MobileSummary/mapToPrice.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/mapToPrice.ts b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/mapToPrice.ts index 08057f94b..18591f0c4 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/mapToPrice.ts +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/mapToPrice.ts @@ -58,6 +58,7 @@ export function mapToPrice( packages: room.packages, price, roomType: room.roomType, + rateDefinition: room.product.rateDefinition, } }) .filter((r) => !!(r && r.price)) as Room[]