@onehat/data 1.8.6 → 1.8.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -163,7 +163,7 @@ class OneBuildRepository extends AjaxRepository {
163
163
  }
164
164
  });
165
165
 
166
- if (this.isLoaded) {
166
+ if (this.isLoaded && this.autoLoad) {
167
167
  return this.reload();
168
168
  }
169
169
  }
@@ -183,7 +183,7 @@ class OneBuildRepository extends AjaxRepository {
183
183
  this.setBaseParam('order', sorterStrings.join(','));
184
184
  }
185
185
 
186
- if (this.isLoaded) {
186
+ if (this.isLoaded && this.autoLoad) {
187
187
  return this.reload();
188
188
  }
189
189
  }