@onehat/data 1.16.6 → 1.16.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.
- package/package.json +1 -1
- package/src/Repository/Ajax.js +1 -1
package/package.json
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -780,7 +780,7 @@ class AjaxRepository extends Repository {
|
|
|
780
780
|
|
|
781
781
|
// Delete it from this.entities
|
|
782
782
|
const id = entity.id;
|
|
783
|
-
this.entities = _.
|
|
783
|
+
this.entities = _.filter(this.entities, (entity) => entity.id === id);
|
|
784
784
|
entity.destroy();
|
|
785
785
|
});
|
|
786
786
|
}
|