feat(SW-2007): Added metadata for hotel subpages

Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-03-26 10:36:58 +00:00
parent c065101b7c
commit ca23589f88
9 changed files with 246 additions and 11 deletions

View File

@@ -250,10 +250,12 @@ export const metadataQueryRouter = router({
...hotelPageData,
...(hotelData
? {
hotelData: hotelData?.hotel,
additionalHotelData: hotelData?.additionalData,
hotelData: hotelData.hotel,
additionalHotelData: hotelData.additionalData,
hotelRestaurants: hotelData.restaurants,
}
: {}),
subpageUrl: input.subpage,
})
break
case PageContentTypeEnum.startPage: