ctt-puro 0.49.2 → 0.49.3
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/esm2022/lib/components/puro-footer-hotels/puro-footer-hotels.component.mjs +1 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +5 -5
- package/fesm2022/ctt-puro.mjs +4 -4
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/lib/components/puro-footer-hotels/puro-footer-hotels.component.d.ts +1 -0
- package/package.json +1 -1
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -4787,7 +4787,9 @@ class MapperService {
|
|
|
4787
4787
|
mapFooterHotels(props) {
|
|
4788
4788
|
return {
|
|
4789
4789
|
logo: this.getImageResponsive(props?.multimedia?.logo?.[0]),
|
|
4790
|
-
items: props?.hotels
|
|
4790
|
+
items: props?.hotels
|
|
4791
|
+
?.filter((hotel) => hotel?.id !== 5)
|
|
4792
|
+
.map((hotel) => ({
|
|
4791
4793
|
link: Utils.mapButtons(2, hotel.links)[0],
|
|
4792
4794
|
title: hotel?.texts?.name ?? hotel?.name,
|
|
4793
4795
|
subtitle: hotel?.texts?.locationDescription ?? null,
|
|
@@ -5599,9 +5601,7 @@ class MapperService {
|
|
|
5599
5601
|
},
|
|
5600
5602
|
resident: {
|
|
5601
5603
|
placeholder: props?.texts?.residentPlaceholder,
|
|
5602
|
-
options: props?.Resident
|
|
5603
|
-
?.sort((a, b) => a.name.localeCompare(b.name))
|
|
5604
|
-
?.map((country) => ({
|
|
5604
|
+
options: props?.Resident?.sort((a, b) => a.name.localeCompare(b.name))?.map((country) => ({
|
|
5605
5605
|
code: country?.id,
|
|
5606
5606
|
name: country?.name,
|
|
5607
5607
|
})),
|