@banch0u/core-project-test-repository 1.12.3 → 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,13 +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;
103
+ var _option$vehicleBrand, _option$vehicleModel, _option$vehicleBrand2, _option$vehicleModel2;
104
104
  var isIdArray = Array.isArray(option.id);
105
105
  return /*#__PURE__*/React.createElement(Option, {
106
106
  key: i,
107
107
  value: isIdArray ? JSON.stringify(option.id) // Convert array to string
108
108
  : option.id // Use ID directly
109
- }, option.name, " ", option.surname, " ", option.text, " [".concat(option.registrationNumber, "] ").concat((_option$vehicleBrand = option.vehicleBrand) === null || _option$vehicleBrand === void 0 ? void 0 : _option$vehicleBrand.text, " ").concat((_option$vehicleModel = option.vehicleModel) === null || _option$vehicleModel === void 0 ? void 0 : _option$vehicleModel.text));
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));
110
110
  })));
111
111
  }
112
112
  if (col.type === "date") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banch0u/core-project-test-repository",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "Shared core features for all projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [