ngx-render-material-forms 1.7.6 → 1.7.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.
@@ -2829,7 +2829,7 @@ class MaterialSelectComponent extends MaterialComponent {
2829
2829
  const includeDescription = this.getValueByKey(paramsData, 'includeDescription');
2830
2830
  const vendorId = this.getValueByKey(paramsData, 'vendorId');
2831
2831
  const onlyActive = this.getValueByKey(paramsData, 'onlyActive');
2832
- const includeCountryId = this.getValueByKey(paramsData, 'includeCountryId');
2832
+ const includeCurrencyId = this.getValueByKey(paramsData, 'includeCurrencyId');
2833
2833
  var currentUser = JSON.parse(localStorage.getItem('currentUser'));
2834
2834
  let headers;
2835
2835
  if (currentUser && currentUser.Tokens && currentUser.Tokens.AccessToken) {
@@ -2846,7 +2846,7 @@ class MaterialSelectComponent extends MaterialComponent {
2846
2846
  const enpageNumber = this.scrumble(pageNumber);
2847
2847
  const enpageSize = this.scrumble(pageSize);
2848
2848
  const ensearchQuery = this.scrumble(searchQuery);
2849
- const encodeIncludeCountryId = this.scrumble(includeCountryId);
2849
+ const encodeIncludeCurrencyId = this.scrumble(includeCurrencyId);
2850
2850
  let enactive = this.scrumble(onlyActive);
2851
2851
  //Check if enactive is undefined, null, or blank
2852
2852
  if (enactive === undefined || enactive === null || enactive === '') {
@@ -2867,7 +2867,7 @@ class MaterialSelectComponent extends MaterialComponent {
2867
2867
  // Get the current hostname
2868
2868
  const hostname = window.location.hostname;
2869
2869
  const baseApiUrl = baseUrlMapping[hostname] || null;
2870
- this.http.get(`${baseApiUrl}/api/VendorFormBuilder/GetVendorProducts?vendorId=${envendorId}&pageNumber=${enpageNumber}&pageSize=${enpageSize}&search=${ensearchQuery}&onlyActive=${enactive}&includeDescription=${endescription}&includeCountryId=${encodeIncludeCountryId}`, { headers }).subscribe(response => {
2870
+ this.http.get(`${baseApiUrl}/api/VendorFormBuilder/GetVendorProducts?vendorId=${envendorId}&pageNumber=${enpageNumber}&pageSize=${enpageSize}&search=${ensearchQuery}&onlyActive=${enactive}&includeDescription=${endescription}&includeCurrencyId=${encodeIncludeCurrencyId}`, { headers }).subscribe(response => {
2871
2871
  if (response && response.code === 200) {
2872
2872
  if (this.instance.component.key.toLowerCase() === 'vendorproductid') {
2873
2873
  this.totalPages = response?.data?.totalPages;