ctt-puro 0.66.1 → 0.66.2
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
|
@@ -5452,7 +5452,7 @@ class MapperService {
|
|
|
5452
5452
|
images: this.getArrayImageResponsive(restaurant?.multimedia?.filter((img) => img?.tags?.some((tag) => tag === 'ListRestaurants' ||
|
|
5453
5453
|
tag?.name === 'ListRestaurants'))),
|
|
5454
5454
|
buttons: [
|
|
5455
|
-
Utils.mapButtons(1, restaurant?.buttons),
|
|
5455
|
+
Utils.mapButtons(1, restaurant?.buttons?.filter((btn) => btn?.linkType === 'self_link' || btn?.linkType === 'external_link')),
|
|
5456
5456
|
],
|
|
5457
5457
|
...(restaurant?.logos?.length
|
|
5458
5458
|
? {
|