ctt-puro 0.66.5 → 0.66.7
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.
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -5469,8 +5469,9 @@ class MapperService {
|
|
|
5469
5469
|
images: this.getArrayImageResponsive(restaurant?.multimedia?.filter((img) => img?.tags?.some((tag) => tag === 'ListRestaurants' ||
|
|
5470
5470
|
tag?.name === 'ListRestaurants'))),
|
|
5471
5471
|
buttons: [
|
|
5472
|
-
Utils.mapButtons(1, restaurant?.buttons?.filter((btn) => btn?.linkType === 'self_link' ||
|
|
5473
|
-
btn?.linkType === 'external_link'
|
|
5472
|
+
Utils.mapButtons(restaurant?.buttons?.[0]?.siteId ?? 1, restaurant?.buttons?.filter((btn) => btn?.linkType === 'self_link' ||
|
|
5473
|
+
btn?.linkType === 'external_link' ||
|
|
5474
|
+
btn?.linkType === 'internal_hotel_link')),
|
|
5474
5475
|
],
|
|
5475
5476
|
...(restaurant?.logos?.length
|
|
5476
5477
|
? {
|