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.
- package/bundles/tnx-shared.umd.js +4 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/user-picker/user-picker.component.d.ts +1 -0
- package/components/user-picker/user-picker.component.d.ts.map +1 -1
- package/esm2015/components/user-picker/user-picker.component.js +5 -2
- package/fesm2015/tnx-shared.js +4 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -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;
|