@evergis/react 4.0.84 → 4.0.85
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/dist/index.js +1 -1
- package/dist/react.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3878,7 +3878,7 @@ const formatAttributeValue = ({ t, type, value, stringFormat, noUnits = false })
|
|
|
3878
3878
|
api.AttributeType.MultiLineString,
|
|
3879
3879
|
].includes(type) &&
|
|
3880
3880
|
!isNaN(value)) {
|
|
3881
|
-
if (!stringFormat) {
|
|
3881
|
+
if (!stringFormat && !isNilValue) {
|
|
3882
3882
|
return value.toString();
|
|
3883
3883
|
}
|
|
3884
3884
|
return formatNumberValue(stringFormat, value, type, noUnits);
|
package/dist/react.esm.js
CHANGED
|
@@ -3876,7 +3876,7 @@ const formatAttributeValue = ({ t, type, value, stringFormat, noUnits = false })
|
|
|
3876
3876
|
AttributeType.MultiLineString,
|
|
3877
3877
|
].includes(type) &&
|
|
3878
3878
|
!isNaN(value)) {
|
|
3879
|
-
if (!stringFormat) {
|
|
3879
|
+
if (!stringFormat && !isNilValue) {
|
|
3880
3880
|
return value.toString();
|
|
3881
3881
|
}
|
|
3882
3882
|
return formatNumberValue(stringFormat, value, type, noUnits);
|
package/package.json
CHANGED