@evoke-platform/ui-components 1.4.0-testing.13 → 1.4.0-testing.15
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.
@@ -102,7 +102,7 @@ const PropertyTree = ({ fetchObject, handleTreePropertySelect, rootObject, value
|
|
102
102
|
}
|
103
103
|
};
|
104
104
|
return (React.createElement(Autocomplete, { "aria-label": "Property Selector", value: value, fullWidth: true, sx: {
|
105
|
-
width: '
|
105
|
+
width: '37%',
|
106
106
|
}, disableClearable: true, options: propertyOptions.map((property) => {
|
107
107
|
return {
|
108
108
|
label: objectPropertyNamePathMap[property.id],
|
@@ -23,7 +23,7 @@ const DisplayedProperty = (props) => {
|
|
23
23
|
return stringAddress;
|
24
24
|
};
|
25
25
|
const formatData = (property, value) => {
|
26
|
-
if (property?.objectId && property?.type === 'object') {
|
26
|
+
if (property?.objectId && (property?.type === 'object' || property?.type === 'collection')) {
|
27
27
|
return value?.name ?? value?.id;
|
28
28
|
}
|
29
29
|
switch (property?.type) {
|