@banch0u/core-project-test-repository 1.12.2 → 1.12.4
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.
|
@@ -100,12 +100,13 @@ var Filter = function Filter(_ref) {
|
|
|
100
100
|
}, /*#__PURE__*/React.createElement(Option, {
|
|
101
101
|
value: ""
|
|
102
102
|
}), ((col === null || col === void 0 ? void 0 : col.selectData) || []).map(function (option, i) {
|
|
103
|
+
var _option$vehicleBrand, _option$vehicleModel, _option$vehicleBrand2, _option$vehicleModel2;
|
|
103
104
|
var isIdArray = Array.isArray(option.id);
|
|
104
105
|
return /*#__PURE__*/React.createElement(Option, {
|
|
105
106
|
key: i,
|
|
106
107
|
value: isIdArray ? JSON.stringify(option.id) // Convert array to string
|
|
107
108
|
: option.id // Use ID directly
|
|
108
|
-
}, option.name, " ", option.surname, " ", option.text, " [".concat(option.registrationNumber, "] ").concat(option.vehicleBrand, " ").concat(option.vehicleModel));
|
|
109
|
+
}, option.name, " ", option.surname, " ", option.text, (option === null || option === void 0 ? void 0 : option.registrationNumber) && (option === null || option === void 0 || (_option$vehicleBrand = option.vehicleBrand) === null || _option$vehicleBrand === void 0 ? void 0 : _option$vehicleBrand.text) && (option === null || option === void 0 || (_option$vehicleModel = option.vehicleModel) === null || _option$vehicleModel === void 0 ? void 0 : _option$vehicleModel.text) && " [".concat(option.registrationNumber, "] ").concat((_option$vehicleBrand2 = option.vehicleBrand) === null || _option$vehicleBrand2 === void 0 ? void 0 : _option$vehicleBrand2.text, " ").concat((_option$vehicleModel2 = option.vehicleModel) === null || _option$vehicleModel2 === void 0 ? void 0 : _option$vehicleModel2.text));
|
|
109
110
|
})));
|
|
110
111
|
}
|
|
111
112
|
if (col.type === "date") {
|