@redneckz/wildless-cms-uni-blocks 0.14.459 → 0.14.461

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.
@@ -32,12 +32,16 @@ function adjustList(block) {
32
32
  block.type === 'CarouselRecommendationCard' ||
33
33
  block.type === 'InvestmentInfo' ||
34
34
  block.type === 'MobileAppTile' ||
35
- block.type === 'ProductBlock'
35
+ block.type === 'ProductBlock' ||
36
+ block.type === 'MobileAppBlock'
36
37
  ) {
37
38
  block.content = listToHtml(content);
39
+ if (block?.mobile?.content?.items) {
40
+ block.mobile.content = listToHtml(content.mobile.content);
41
+ }
38
42
  }
39
43
 
40
- if (block.type === 'StepsBlock') {
44
+ if (block.type === 'StepsBlock' && content?.steps) {
41
45
  for (let step of content.steps) {
42
46
  if (!step?.items) {
43
47
  continue;
@@ -71,6 +75,7 @@ const blockTypesArray = [
71
75
  'ProductGallery',
72
76
  'StepsBlock',
73
77
  'TariffsTable',
78
+ 'MobileAppBlock',
74
79
  ];
75
80
 
76
81
  const EMPTY_HTML = '<p><br></p>';
@@ -6559,7 +6559,7 @@
6559
6559
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6560
6560
  });
6561
6561
 
6562
- const packageVersion = "0.14.458";
6562
+ const packageVersion = "0.14.460";
6563
6563
 
6564
6564
  exports.Blocks = Blocks;
6565
6565
  exports.ContentPage = ContentPage;