@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
|
@@ -451,9 +451,9 @@ const getDecoratedProps = (
|
|
|
451
451
|
maximumWeight: {
|
|
452
452
|
title: t('vehicleProps:title.maximumWeight'),
|
|
453
453
|
get value() {
|
|
454
|
-
const
|
|
455
|
-
return Number.isFinite(
|
|
456
|
-
? t('vehicleProps:value.maximumWeightCapacity', { capacity:
|
|
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
|
},
|