tnx-shared 5.3.282 → 5.3.283

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.
@@ -54592,11 +54592,14 @@
54592
54592
  }
54593
54593
  else {
54594
54594
  var tenDonVi = item.lstTenDonVi && item.lstTenDonVi.length > 0 ? item.lstTenDonVi.split(',')[0] : '';
54595
- temp.label = (item.maChucVu ? item.maChucVu + ". " : '') + ("" + temp.label) + (tenDonVi ? " - " + tenDonVi : '');
54595
+ temp.label = (item.maChucVu ? item.maChucVu + ". " : '') + ("" + (temp.label || this.getDisplayName(item))) + (tenDonVi ? " - " + tenDonVi : '');
54596
54596
  }
54597
54597
  temp.value._dropdownvalue = this.controlPicker.valueField;
54598
54598
  return temp;
54599
54599
  };
54600
+ UserPickerComponent.prototype.getDisplayName = function (item) {
54601
+ return item.displayName ? item.displayName : item.fullNameNew;
54602
+ };
54600
54603
  UserPickerComponent.prototype.writeValue = function (obj) {
54601
54604
  return __awaiter(this, void 0, void 0, function () {
54602
54605
  var filters, value;