cloud-b2b 1.1.5 → 1.1.6
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/es/Area/Area.js +1 -1
- package/lib/Area/Area.js +1 -1
- package/package.json +1 -1
package/es/Area/Area.js
CHANGED
|
@@ -151,7 +151,7 @@ var Area = /*#__PURE__*/function (_React$Component) {
|
|
|
151
151
|
onSearch: _bindInstanceProperty(_context2 = _this2.onSearch).call(_context2, _this2, item.key, item, parentKey),
|
|
152
152
|
onChange: _bindInstanceProperty(_context3 = _this2.onChange).call(_context3, _this2, item.key),
|
|
153
153
|
options: childOptions,
|
|
154
|
-
value: value[item.key].title ? value[item.key].title : value[item.key],
|
|
154
|
+
value: value[item.key] && value[item.key].title ? value[item.key].title : value[item.key],
|
|
155
155
|
type: readonly ? 'readonly' : item.type
|
|
156
156
|
});
|
|
157
157
|
|
package/lib/Area/Area.js
CHANGED
|
@@ -179,7 +179,7 @@ var Area = /*#__PURE__*/function (_React$Component) {
|
|
|
179
179
|
onSearch: (0, _bind["default"])(_context2 = _this2.onSearch).call(_context2, _this2, item.key, item, parentKey),
|
|
180
180
|
onChange: (0, _bind["default"])(_context3 = _this2.onChange).call(_context3, _this2, item.key),
|
|
181
181
|
options: childOptions,
|
|
182
|
-
value: value[item.key].title ? value[item.key].title : value[item.key],
|
|
182
|
+
value: value[item.key] && value[item.key].title ? value[item.key].title : value[item.key],
|
|
183
183
|
type: readonly ? 'readonly' : item.type
|
|
184
184
|
});
|
|
185
185
|
|