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