wt-front-shared 1.0.47 → 1.0.48

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.
@@ -10647,7 +10647,7 @@ class StaticDataListItemsComponent {
10647
10647
  });
10648
10648
  }
10649
10649
  preLoadSections() {
10650
- const preLoadSections = this.staticDataConfiguration[this.contentType].preLoadSections;
10650
+ const preLoadSections = this.staticDataConfiguration[this.contentType]?.preLoadSections;
10651
10651
  if (preLoadSections) {
10652
10652
  this.staticDataFacade.staticDataLoadCategories(preLoadSections);
10653
10653
  }
@@ -10973,7 +10973,7 @@ class StaticDataDetailsComponent {
10973
10973
  }
10974
10974
  }
10975
10975
  preLoadSections() {
10976
- const preLoadSections = this.staticDataConfiguration[this.contentType].preLoadSections;
10976
+ const preLoadSections = this.staticDataConfiguration[this.contentType]?.preLoadSections;
10977
10977
  if (preLoadSections) {
10978
10978
  this.staticDataFacade.staticDataLoadCategories(preLoadSections);
10979
10979
  }