ngx-render-material-forms 1.2.5 → 1.2.6

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.
@@ -2641,7 +2641,7 @@ class MaterialSelectComponent extends MaterialComponent {
2641
2641
  const baseApiUrl = baseUrlMapping[hostname] || null;
2642
2642
  this.http.get(`${baseApiUrl}/api/VendorFormBuilder/GetVendorProducts?vendorId=${envendorId}&pageNumber=${enpageNumber}&pageSize=${enpageSize}&search=${ensearchQuery}&onlyActive=${enactive}&includeDescription=${endescription}`, { headers }).subscribe(response => {
2643
2643
  if (response && response.code === 200) {
2644
- this.totalPages = response?.data?.dataSource?.totalPages;
2644
+ this.totalPages = response?.data?.totalPages;
2645
2645
  if (this.instance.component.key.toLowerCase() === 'vendorproductid') {
2646
2646
  const transformedData = this.transformResponseData(response.data.dataSource);
2647
2647
  // Process the transformed data