diff --git a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/CityListingItem/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/CityListingItem/index.tsx index aa6b3634b..1e6ef95ae 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/CityListingItem/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/CityListingItem/index.tsx @@ -22,7 +22,7 @@ interface CityListingItemProps { export default function CityListingItem({ city }: CityListingItemProps) { const intl = useIntl() - const galleryImages = mapImageVaultImagesToGalleryImages(city.images) + const galleryImages = mapImageVaultImagesToGalleryImages(city.images || []) return (
@@ -40,7 +40,9 @@ export default function CityListingItem({ city }: CityListingItemProps) {

{city.heading}

- + {city.experiences?.length && ( + + )} {city.preamble} diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx index 3c9abc163..3a727dfb6 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx @@ -20,7 +20,7 @@ interface CityListItemProps { export default function CityListItem({ city }: CityListItemProps) { const intl = useIntl() - const galleryImages = mapImageVaultImagesToGalleryImages(city.images) + const galleryImages = mapImageVaultImagesToGalleryImages(city.images || []) return (
@@ -38,9 +38,11 @@ export default function CityListItem({ city }: CityListItemProps) {

{city.heading}

-
- -
+ {city.experiences?.length && ( +
+ +
+ )}