ng-kinintel 20.0.6 → 20.0.9

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.
@@ -5375,7 +5375,7 @@ class ItemComponentComponent {
5375
5375
  Object.keys(params).forEach(paramKey => {
5376
5376
  let value = this.bindParametersInString(params[paramKey], data);
5377
5377
  // Check if we have any column eg. [[ ]] values needing mapping
5378
- value = this.mapColumnToValue(value, data);
5378
+ value = this.mapColumnToValue(value, this.dataset.allData?.length ? this.dataset.allData[0] : data);
5379
5379
  params[paramKey] = value;
5380
5380
  });
5381
5381
  const urlParams = new URLSearchParams(params).toString();
@@ -5386,7 +5386,7 @@ class ItemComponentComponent {
5386
5386
  const data = dataItem || this.dashboard.layoutSettings.parameters;
5387
5387
  url = this.bindParametersInString(url, data);
5388
5388
  // Check if we have any column eg. [[ ]] values needing mapping
5389
- url = this.mapColumnToValue(url, data);
5389
+ url = this.mapColumnToValue(url, this.dataset.allData?.length ? this.dataset.allData[0] : data);
5390
5390
  }
5391
5391
  else if (cta.type === 'feed') {
5392
5392
  url = `/dap-data-feeds/${cta.value}`;