@onehat/data 1.22.19 → 1.22.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.22.19",
3
+ "version": "1.22.20",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -535,7 +535,7 @@ class AjaxRepository extends Repository {
535
535
 
536
536
  const repository = this;
537
537
 
538
- return this._send(this.methods.get, url, data, { isLoadRequest: true, requestKey, })
538
+ return this._send(this.methods.get, url, data, { isLoadRequest: true, requestKey, })
539
539
  .then(result => {
540
540
  if (this.debugMode) {
541
541
  console.log('Response for ' + this.name, result);
@@ -113,6 +113,7 @@ class TreeRepository extends OneBuildRepository {
113
113
  this.total = total;
114
114
  this._setPaginationVars();
115
115
 
116
+ this.markLoaded();
116
117
  this.areRootNodesLoaded = true;
117
118
 
118
119