feat(SW-1464): Added meeting url instead of hotel url for hotellisting with meeting information
Approved-by: Matilda Landström
This commit is contained in:
@@ -15,7 +15,7 @@ export default async function HotelListing({
|
||||
}: HotelListingProps) {
|
||||
const hotels = await getHotelsByCSFilter({
|
||||
locationFilter,
|
||||
hotelsToInclude: hotelsToInclude,
|
||||
hotelsToInclude,
|
||||
})
|
||||
|
||||
if (!hotels.length) {
|
||||
@@ -27,10 +27,11 @@ export default async function HotelListing({
|
||||
<Title level="h4" as="h3" textTransform="capitalize">
|
||||
{heading}
|
||||
</Title>
|
||||
{hotels.map(({ url, ...data }) => (
|
||||
{hotels.map(({ url, hotel, additionalData }) => (
|
||||
<HotelListingItem
|
||||
key={data.hotel.name}
|
||||
hotel={data.hotel}
|
||||
key={hotel.name}
|
||||
hotel={hotel}
|
||||
additionalData={additionalData}
|
||||
contentType={contentType}
|
||||
url={url}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user