@bytebrand/fe-ui-core 4.6.6 → 4.6.7
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
|
@@ -124,10 +124,14 @@ const getDecoratedLightProps = (
|
|
|
124
124
|
? t('vehicleProps:value.consumptionCombined', { consumption: wltpConsumptionCombined.toLocaleString(language), unit: translatedUnit })
|
|
125
125
|
: null;
|
|
126
126
|
|
|
127
|
-
const
|
|
127
|
+
const wltpCo2PluginValue = Number.isFinite(wltpCo2)
|
|
128
128
|
? t('vehicleProps:value.wltpCo2WtdCombined', { co2: wltpCo2.toLocaleString(language) })
|
|
129
129
|
: null;
|
|
130
130
|
|
|
131
|
+
const wltpCo2Value = Number.isFinite(wltpCo2)
|
|
132
|
+
? t('vehicleProps:value.wltpCo2Combined', { co2: wltpCo2.toLocaleString(language) })
|
|
133
|
+
: null;
|
|
134
|
+
|
|
131
135
|
const consumptionValue = Number.isFinite(consumptionCombined)
|
|
132
136
|
? t('vehicleProps:value.consumptionCombined', { consumption: consumptionCombined.toLocaleString(language), unit: translatedUnit })
|
|
133
137
|
: t('vehicleProps:value.na');
|
|
@@ -146,7 +150,7 @@ const getDecoratedLightProps = (
|
|
|
146
150
|
if (hybridPlugin) {
|
|
147
151
|
return <React.Fragment>
|
|
148
152
|
{`${wltpWeightedPowerCombinedContent}, `}
|
|
149
|
-
{wltpWeightedCombinedContent}, {
|
|
153
|
+
{wltpWeightedCombinedContent}, {wltpCo2PluginValue}
|
|
150
154
|
</React.Fragment>
|
|
151
155
|
}
|
|
152
156
|
|