ronds-metadata 1.0.17 → 1.0.18
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.
@@ -146,13 +146,15 @@ var MetadataEdit = function MetadataEdit(props) {
|
|
146
146
|
var _properties = schema.properties;
|
147
147
|
var _fields = fields;
|
148
148
|
|
149
|
-
|
150
|
-
|
151
|
-
|
149
|
+
if (_properties) {
|
150
|
+
for (var i = 0; i < _properties.length; i++) {
|
151
|
+
if (_properties[i].fields) {
|
152
|
+
_fields[_properties[i].id] = _properties[i].fields;
|
153
|
+
}
|
152
154
|
}
|
153
|
-
}
|
154
155
|
|
155
|
-
|
156
|
+
setFields(_objectSpread({}, _fields));
|
157
|
+
}
|
156
158
|
};
|
157
159
|
|
158
160
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form, {
|