@onehat/data 1.8.14 → 1.8.15
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/package.json +1 -1
- package/src/Entity.js +4 -0
package/package.json
CHANGED
package/src/Entity.js
CHANGED
|
@@ -1297,6 +1297,10 @@ class Entity extends EventEmitter {
|
|
|
1297
1297
|
if (this.isFrozen) {
|
|
1298
1298
|
return;
|
|
1299
1299
|
}
|
|
1300
|
+
|
|
1301
|
+
// Save destroyed properties
|
|
1302
|
+
this.destroyedProperties = this.displayValues;
|
|
1303
|
+
|
|
1300
1304
|
this._id = this.id; // save id, so we can query it later--even on a destroyed entity
|
|
1301
1305
|
|
|
1302
1306
|
// parent objects
|