@wayke-se/components-react 3.8.0 → 3.8.2
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.
|
@@ -91,7 +91,7 @@ const WaykeSearchItem = ({ id, hashRoute, pathRoute, disableResetScrollOnInit, p
|
|
|
91
91
|
const insuranceOptions = centralStorageVehicle?.insuranceOptions
|
|
92
92
|
? centralStorageVehicle.insuranceOptions
|
|
93
93
|
: vehicle.insuranceOptions;
|
|
94
|
-
const { fuelType, mileage,
|
|
94
|
+
const { fuelType, mileage, gearboxType, modelYear, propertySet } = vehicle.data;
|
|
95
95
|
const uspList = [
|
|
96
96
|
{
|
|
97
97
|
title: modelYear,
|
|
@@ -106,8 +106,8 @@ const WaykeSearchItem = ({ id, hashRoute, pathRoute, disableResetScrollOnInit, p
|
|
|
106
106
|
uspList.push({
|
|
107
107
|
title: `${numberSeparator(mileage)} mil`,
|
|
108
108
|
});
|
|
109
|
-
if (
|
|
110
|
-
uspList.push({ title:
|
|
109
|
+
if (gearboxType) {
|
|
110
|
+
uspList.push({ title: gearboxType });
|
|
111
111
|
}
|
|
112
112
|
if (fuelType) {
|
|
113
113
|
uspList.push({ title: fuelType });
|
package/dist-web/index.js
CHANGED
|
@@ -7719,7 +7719,7 @@ const WaykeSearchItem = ({ id, hashRoute, pathRoute, disableResetScrollOnInit, p
|
|
|
7719
7719
|
const insuranceOptions = centralStorageVehicle?.insuranceOptions
|
|
7720
7720
|
? centralStorageVehicle.insuranceOptions
|
|
7721
7721
|
: vehicle.insuranceOptions;
|
|
7722
|
-
const { fuelType, mileage,
|
|
7722
|
+
const { fuelType, mileage, gearboxType, modelYear, propertySet } = vehicle.data;
|
|
7723
7723
|
const uspList = [
|
|
7724
7724
|
{
|
|
7725
7725
|
title: modelYear,
|
|
@@ -7734,8 +7734,8 @@ const WaykeSearchItem = ({ id, hashRoute, pathRoute, disableResetScrollOnInit, p
|
|
|
7734
7734
|
uspList.push({
|
|
7735
7735
|
title: `${numberSeparator(mileage)} mil`,
|
|
7736
7736
|
});
|
|
7737
|
-
if (
|
|
7738
|
-
uspList.push({ title:
|
|
7737
|
+
if (gearboxType) {
|
|
7738
|
+
uspList.push({ title: gearboxType });
|
|
7739
7739
|
}
|
|
7740
7740
|
if (fuelType) {
|
|
7741
7741
|
uspList.push({ title: fuelType });
|