@bytebrand/fe-ui-core 4.8.24 → 4.8.25

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.24",
3
+ "version": "4.8.25",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -451,9 +451,9 @@ const getDecoratedProps = (
451
451
  maximumWeight: {
452
452
  title: t('vehicleProps:title.maximumWeight'),
453
453
  get value() {
454
- const cargoCapacity = car.sizeVolumeWeight && car.sizeVolumeWeight.cargoCapacity;
455
- return Number.isFinite(cargoCapacity)
456
- ? t('vehicleProps:value.maximumWeightCapacity', { capacity: cargoCapacity.toLocaleString(language) })
454
+ const maxWeight = car.sizeVolumeWeight && car.sizeVolumeWeight.maxWeight;
455
+ return Number.isFinite(maxWeight)
456
+ ? t('vehicleProps:value.maximumWeightCapacity', { capacity: maxWeight.toLocaleString(language) })
457
457
  : t('vehicleProps:value.na');
458
458
  }
459
459
  },