@bytebrand/fe-ui-core 4.2.39 → 4.2.40
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
|
@@ -751,9 +751,14 @@ const getDecoratedProps = (
|
|
|
751
751
|
? t('vehicleProps:value.co2Combined', { co2: co2.toLocaleString(language) })
|
|
752
752
|
: t('vehicleProps:value.na');
|
|
753
753
|
|
|
754
|
+
const hybridPlugin = car.engineData.hybridPlugin;
|
|
755
|
+
|
|
754
756
|
return Number.isFinite(consumptionCombined) && Number.isFinite(consumptionPowerCombined)
|
|
755
757
|
? <React.Fragment>
|
|
756
|
-
{consumptionPowerCombined
|
|
758
|
+
{consumptionPowerCombined && hybridPlugin ? consumptionPowerCombinedContent : ''}
|
|
759
|
+
{consumptionPowerCombined && hybridPlugin ? <br /> : ''}
|
|
760
|
+
{consumptionCombinedContent} <br />
|
|
761
|
+
{co2Value}
|
|
757
762
|
</React.Fragment>
|
|
758
763
|
: t('vehicleProps:value.na');
|
|
759
764
|
}
|