@pepperi-addons/ngx-lib 0.2.51-beta.6 → 0.2.51-beta.7

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.
@@ -658,9 +658,8 @@
658
658
  }
659
659
  case ngxLib.FIELD_TYPE.RelatedObjectsCards: {
660
660
  options.rowSpan = controlField.Layout.Height;
661
- // options.objectId = objectId;
662
- // options.parentId = parentId;
663
- // options.searchCode = searchCode;
661
+ options.searchCode = searchCode;
662
+ options.pageInfo = dataField.UIPageInfo;
664
663
  customField = new ngxLib.PepInternalCaruselField(options);
665
664
  break;
666
665
  }
@@ -3113,8 +3112,11 @@
3113
3112
  // this.field.objectId,
3114
3113
  // this.field.searchCode,
3115
3114
  // (caruselItems: any) => {
3116
- this.layout = TempRelatedItems.UIControl;
3117
- this.items = TempRelatedItems.Rows;
3115
+ var caruselField = this.field;
3116
+ if (caruselField) {
3117
+ this.layout = caruselField.pageInfo.UIControl;
3118
+ this.items = caruselField.pageInfo.Rows;
3119
+ }
3118
3120
  // }
3119
3121
  // );
3120
3122
  };