@onehat/data 1.8.1 → 1.8.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Entity.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/Entity.js CHANGED
@@ -331,6 +331,7 @@ class Entity extends EventEmitter {
331
331
  if (this.isDeleted) {
332
332
  this.undelete();
333
333
  }
334
+ this.markStaged(false);
334
335
  this.setLastModified();
335
336
 
336
337
  this.emit('reset', this._proxy);