labellife-design-tool 2.2.6 → 2.2.7

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.
@@ -421,7 +421,7 @@ var Node = mobxStateTree.types.model('Node', {
421
421
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
422
422
  _ref$skipSelect = _ref.skipSelect,
423
423
  skipSelect = _ref$skipSelect === void 0 ? false : _ref$skipSelect;
424
- var json = self.toJSON();
424
+ var json = _objectSpread2({}, mobxStateTree.getSnapshot(self));
425
425
  delete json.id;
426
426
  Object.assign(json, attrs);
427
427
  var page = self.page;