aeb-ui-kit 4.0.1-preview.718 → 4.0.1-preview.721

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.
@@ -3817,7 +3817,7 @@ class PaginationComponent {
3817
3817
  this.totalPages = 1500;
3818
3818
  this.currentPage = 1;
3819
3819
  this.usePageSizeSelector = false;
3820
- this.pageSize = '10';
3820
+ this.pageSize = 10;
3821
3821
  this.pageSelect = new EventEmitter();
3822
3822
  this.amountChange = new EventEmitter();
3823
3823
  this.isPagination = true;
@@ -3846,7 +3846,8 @@ class PaginationComponent {
3846
3846
  }
3847
3847
  }
3848
3848
  ngOnInit() {
3849
- this.pageSizeControl.setValue(this.pageSize);
3849
+ // меняется тип, потому что app-select и option принимают только string
3850
+ this.pageSizeControl.setValue(this.pageSize.toString());
3850
3851
  this.renderPages(this.currentPage);
3851
3852
  }
3852
3853
  ngOnDestroy() { }