igniteui-angular 12.3.43 → 12.3.44

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.
@@ -41702,9 +41702,10 @@
41702
41702
  if (this.isRemote) {
41703
41703
  return this.getRemoteSelection(newSelection, oldSelection);
41704
41704
  }
41705
- if (this.displayKey !== null && this.displayKey !== undefined
41705
+ if (this.displayKey !== null
41706
+ && this.displayKey !== undefined
41706
41707
  && newSelection.length > 0) {
41707
- return ((_a = this.convertKeysToItems(newSelection).map(function (e) { return e[_this.displayKey]; })[0]) === null || _a === void 0 ? void 0 : _a.toString()) || '';
41708
+ return ((_a = this.convertKeysToItems(newSelection).filter(function (e) { return e; }).map(function (e) { return e[_this.displayKey]; })[0]) === null || _a === void 0 ? void 0 : _a.toString()) || '';
41708
41709
  }
41709
41710
  return ((_b = newSelection[0]) === null || _b === void 0 ? void 0 : _b.toString()) || '';
41710
41711
  };