feat(SW-1780): Hotel address now leads to map view with hotel active

Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-04-28 09:12:17 +00:00
parent 416a95d592
commit 5beffe4968
6 changed files with 189 additions and 125 deletions

View File

@@ -519,9 +519,7 @@ export async function getHotelsByHotelIds({
const data: DestinationPagesHotelData = {
hotel: {
id: hotel.id,
galleryImages: hotel.galleryImages?.length
? [hotel.galleryImages[0]]
: [],
galleryImages: hotel.galleryImages,
name: hotel.name,
tripadvisor: hotel.ratings?.tripAdvisor?.rating,
detailedFacilities: hotel.detailedFacilities || [],