ctt-puro 0.67.0 → 0.67.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4382,7 +4382,8 @@ class MapperService {
4382
4382
  (hotel.texts?.description
4383
4383
  ? ' <br> ' + hotel.texts.description
4384
4384
  : ''),
4385
- img: this.getImageResponsive(hotel.multimedia?.find((img) => img.cover)),
4385
+ img: this.getImageResponsive(hotel.multimedia?.filter((img) => img?.tags?.some((tag) => tag === 'TopSliderMovil' ||
4386
+ tag?.name === 'TopSliderMovil'))?.[0]),
4386
4387
  }));
4387
4388
  }
4388
4389
  if (destinations) {
@@ -4922,7 +4923,8 @@ class MapperService {
4922
4923
  const title = tr?.name ?? child?.name ?? child?.name_identifier;
4923
4924
  const pretitle = dest?.name;
4924
4925
  const button = (Utils.mapButtons(this.siteId(), child?.hotels?.[0]?.links?.[0]) ?? [])[0];
4925
- const imgCover = child?.hotels?.[0]?.multimedia?.find((img) => img.cover);
4926
+ const imgCover = child?.hotels?.[0]?.multimedia?.filter((img) => img?.tags?.some((tag) => tag === 'TopSliderMovil' ||
4927
+ tag?.name === 'TopSliderMovil'))?.[0];
4926
4928
  const img = this.getImageResponsive(imgCover);
4927
4929
  return {
4928
4930
  title,