@sumaris-net/ngx-components 0.13.4 → 0.13.5

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.
@@ -11048,7 +11048,7 @@
11048
11048
  return __generator(this, function (_a) {
11049
11049
  switch (_a.label) {
11050
11050
  case 0:
11051
- opts = Object.assign({ skipIfPristine: true }, opts);
11051
+ opts = Object.assign({ skipIfPristine: this.policy.skipNonLocalEntities }, opts);
11052
11052
  // Skip is not dirty
11053
11053
  if (opts.skipIfPristine && !this._dirty) {
11054
11054
  console.debug("[entity-storage] Persisting " + this.name + " not need. Skip");
@@ -21794,7 +21794,7 @@
21794
21794
  var withTotal = (!opts || opts.withTotal !== false) && this.queries.loadAllWithTotal && true;
21795
21795
  var query = (opts && opts.query) // use given query
21796
21796
  // Or get loadAll or loadAllWithTotal query
21797
- || withTotal ? this.queries.loadAllWithTotal : this.queries.loadAll;
21797
+ || (withTotal ? this.queries.loadAllWithTotal : this.queries.loadAll);
21798
21798
  return this.mutableWatchQuery({
21799
21799
  queryName: withTotal ? 'LoadAllWithTotal' : 'LoadAll',
21800
21800
  query: query,
@@ -21840,7 +21840,7 @@
21840
21840
  withTotal = (!opts || opts.withTotal !== false) && this.queries.loadAllWithTotal && true;
21841
21841
  query = (opts && opts.query) // use given query
21842
21842
  // Or get loadAll or loadAllWithTotal query
21843
- || withTotal ? this.queries.loadAllWithTotal : this.queries.loadAll;
21843
+ || (withTotal ? this.queries.loadAllWithTotal : this.queries.loadAll);
21844
21844
  return [4 /*yield*/, this.graphql.query({
21845
21845
  query: query,
21846
21846
  variables: variables,