ctt-babylon 0.2.1 → 0.2.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.
@@ -3264,8 +3264,16 @@ class MapperService {
3264
3264
  }
3265
3265
  mapInfo2ImgBig(props) {
3266
3266
  return {
3267
- pretitle: props?.texts?.pretitle,
3268
- title: props?.texts?.title,
3267
+ pretitle: typeof props?.texts?.pretitle === 'string'
3268
+ ? props?.texts?.pretitle
3269
+ : props?.texts?.pretitle?.contain,
3270
+ title: typeof props?.texts?.title === 'string'
3271
+ ? props?.texts?.title
3272
+ : props?.texts?.title?.contain,
3273
+ tags: {
3274
+ pretitle: props?.texts?.pretitle?.tag,
3275
+ title: props?.texts?.title?.tag,
3276
+ },
3269
3277
  text: props?.texts?.description,
3270
3278
  pretitle2: props?.texts?.ndPretitle,
3271
3279
  title2: props?.texts?.ndTitle,