ctt-puro 0.48.1 → 0.48.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
|
@@ -4731,7 +4731,7 @@ class MapperService {
|
|
|
4731
4731
|
filter: Number(item?.id),
|
|
4732
4732
|
filterParent: item.subtitle,
|
|
4733
4733
|
img: this.getImageResponsive(item?.multimedia?.[0]),
|
|
4734
|
-
buttons: Utils.mapButtons(this.siteId(), item?.buttons
|
|
4734
|
+
buttons: Utils.mapButtons(this.siteId(), item?.buttons?.filter((btn) => !!btn?.linkValue)),
|
|
4735
4735
|
links: undefined,
|
|
4736
4736
|
};
|
|
4737
4737
|
});
|
|
@@ -5023,7 +5023,7 @@ class MapperService {
|
|
|
5023
5023
|
}
|
|
5024
5024
|
return {
|
|
5025
5025
|
title: texts?.title,
|
|
5026
|
-
button: Utils.mapButtons(this.siteId(), buttons
|
|
5026
|
+
button: Utils.mapButtons(this.siteId(), buttons?.filter((btn) => !!btn?.linkValue))[0],
|
|
5027
5027
|
images: this.getArrayImageResponsive(multimedia?.imagenes || []),
|
|
5028
5028
|
items: items,
|
|
5029
5029
|
view: this.getView(view),
|