@singularsystems/neo-react 1.0.18 → 1.0.19

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.
@@ -150,7 +150,8 @@ var ReactModelCreator = /** @class */ (function (_super) {
150
150
  currentValue.length = 0;
151
151
  }
152
152
  else {
153
- if (newValue.childObjectType && newValue.setParent) {
153
+ var newValueAsList = newValue;
154
+ if (newValueAsList.createChild !== undefined && newValueAsList.addNew !== undefined) {
154
155
  // Cannot re-assign this property, so we have to clear the array, and copy the items from the source array.
155
156
  Utils.batchUpdate(function () {
156
157
  currentValue.length = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-react",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "React application logic and components for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",