@datarailsshared/datarailsshared 1.3.24 → 1.3.25

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.
@@ -2820,11 +2820,11 @@
2820
2820
  this.containerClass = data.class;
2821
2821
  this.list = data.list || [];
2822
2822
  this.list.forEach(function (item) {
2823
- var _a;
2823
+ var _a, _b;
2824
2824
  if ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) {
2825
2825
  item.childOptions = {
2826
2826
  list: item.children,
2827
- class: item.childOptions.class,
2827
+ class: ((_b = item === null || item === void 0 ? void 0 : item.childOptions) === null || _b === void 0 ? void 0 : _b.class) || '',
2828
2828
  position: 'child'
2829
2829
  };
2830
2830
  }