@bytebrand/fe-ui-core 4.8.9 → 4.8.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.8.9",
3
+ "version": "4.8.10",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -103,7 +103,7 @@ const getDecoratedLightProps = (
103
103
  const consumptionCombined = car.consumption.consumptionCombined;
104
104
  const consumptionUnit = car.consumption.consumptionUnit || 'consumption_consumptionUnit_l';
105
105
  const translatedUnit = t(`cbd:${consumptionUnit}`);
106
- const wltpCombined = car.consumption.wltpCombined || car.consumption.wltpWeightedCombined;
106
+ const wltpCombined = car.consumption.wltpCombined;
107
107
  if (wltpCombined) {
108
108
  return Number.isFinite(wltpCombined)
109
109
  ? t('vehicleProps:value.wltpCombined', { consumption: wltpCombined.toLocaleString(language), unit: translatedUnit })