@bytebrand/fe-ui-core 4.8.4 → 4.8.6
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/package.json
CHANGED
|
@@ -85,8 +85,8 @@ const VehicleInfo: React.FC<IVehicleInfoProps> = (props) => {
|
|
|
85
85
|
description: decoratedProps[prop].value,
|
|
86
86
|
className: styles[decoratedProps[prop].name],
|
|
87
87
|
classNameIcon: (vehicleComponentName === 'search' || 'myVehicles' || 'favorite' || 'recently') && styles.carIconSearch,
|
|
88
|
-
smalltext:
|
|
89
|
-
hybridPlugin: engineData.hybridPlugin && prop === '
|
|
88
|
+
smalltext: (decoratedProps[prop].name === 'consumptionCombined') && (vehicleComponentName !== 'search'),
|
|
89
|
+
hybridPlugin: engineData.hybridPlugin && decoratedProps[prop].name === 'consumptionCombined' && vehicleComponentName !== 'search'
|
|
90
90
|
}));
|
|
91
91
|
|
|
92
92
|
return mainPropertiesList.map((property: any, index: number) => (
|
|
@@ -1627,7 +1627,7 @@ const getDecoratedProps = (
|
|
|
1627
1627
|
|
|
1628
1628
|
const { getBaseFuelPrice } = financingUtils;
|
|
1629
1629
|
|
|
1630
|
-
const baseFuelPrice = getBaseFuelPrice(fuel, hybridPlugin);
|
|
1630
|
+
const baseFuelPrice = getBaseFuelPrice(fuel, hybridPlugin).fuelPrice;
|
|
1631
1631
|
|
|
1632
1632
|
const fuelPrice = car.costModel.fuelPrice ? car.costModel.fuelPrice : baseFuelPrice;
|
|
1633
1633
|
return Number.isFinite(fuelPrice)
|