ctt-babylon 0.13.19 → 0.13.20
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-babylon.mjs
CHANGED
|
@@ -5672,7 +5672,6 @@ class MapperService {
|
|
|
5672
5672
|
return offerData ?? offerData;
|
|
5673
5673
|
}
|
|
5674
5674
|
mapHeadIntro(props, component) {
|
|
5675
|
-
console.log(props);
|
|
5676
5675
|
let additionalTexts = {
|
|
5677
5676
|
additional2: '',
|
|
5678
5677
|
additional3: '',
|
|
@@ -5683,20 +5682,22 @@ class MapperService {
|
|
|
5683
5682
|
additionalTexts.additional3 = props.room.texts?.additional3 ?? '';
|
|
5684
5683
|
additionalTexts.additional4 = props.room.texts?.additional4 ?? '';
|
|
5685
5684
|
}
|
|
5686
|
-
console.log(additionalTexts);
|
|
5687
5685
|
return {
|
|
5688
|
-
pretitle: additionalTexts.additional2
|
|
5689
|
-
|
|
5686
|
+
pretitle: additionalTexts.additional2.length
|
|
5687
|
+
? additionalTexts.additional2
|
|
5688
|
+
: typeof props?.texts?.pretitle === 'string'
|
|
5690
5689
|
? props?.texts?.pretitle
|
|
5691
|
-
: props?.texts?.pretitle?.contain
|
|
5692
|
-
title: additionalTexts.additional3
|
|
5693
|
-
|
|
5690
|
+
: props?.texts?.pretitle?.contain,
|
|
5691
|
+
title: additionalTexts.additional3.length
|
|
5692
|
+
? additionalTexts.additional3
|
|
5693
|
+
: typeof props?.texts?.title === 'string'
|
|
5694
5694
|
? props?.texts?.title
|
|
5695
|
-
: props?.texts?.title?.contain
|
|
5696
|
-
text: additionalTexts.additional4
|
|
5697
|
-
|
|
5695
|
+
: props?.texts?.title?.contain,
|
|
5696
|
+
text: additionalTexts.additional4.length
|
|
5697
|
+
? additionalTexts.additional4
|
|
5698
|
+
: typeof props?.texts?.text === 'string'
|
|
5698
5699
|
? props?.texts?.text
|
|
5699
|
-
: props?.texts?.text?.contain
|
|
5700
|
+
: props?.texts?.text?.contain,
|
|
5700
5701
|
buttons: Utils.mapButtons(props?.buttons?.filter((btn) => btn?.linkValue !== null)),
|
|
5701
5702
|
tags: {
|
|
5702
5703
|
pretitle: props?.texts?.pretitle?.tag,
|