@evergis/react 2.0.44 → 2.0.48
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.
|
@@ -1051,7 +1051,7 @@ const getClassificationAttribute = (attributeName, attributes) => {
|
|
|
1051
1051
|
const attribute = attributes[attributeName];
|
|
1052
1052
|
const attrNamePart = {
|
|
1053
1053
|
name: attributeName,
|
|
1054
|
-
type: attribute.type || api.AttributeType.Unknown
|
|
1054
|
+
type: (attribute == null ? void 0 : attribute.type) || api.AttributeType.Unknown
|
|
1055
1055
|
};
|
|
1056
1056
|
return attribute ? _extends({}, attrNamePart, attribute) : attrNamePart;
|
|
1057
1057
|
};
|