@sumaris-net/ngx-components 1.15.10 → 1.15.11

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.
@@ -17529,12 +17529,12 @@
17529
17529
  case 0:
17530
17530
  now = Date.now();
17531
17531
  console.debug('[config] Clear server cache...');
17532
- variables = { name: opts && opts.cacheName } || undefined;
17532
+ variables = opts && opts.cacheName && { name: opts.cacheName } || undefined;
17533
17533
  return [4 /*yield*/, this.graphql.query({
17534
17534
  query: ClearCache,
17535
17535
  variables: variables,
17536
17536
  error: { code: ErrorCodes$2.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
17537
- fetchPolicy: 'network-only'
17537
+ fetchPolicy: 'no-cache'
17538
17538
  })];
17539
17539
  case 1:
17540
17540
  res = _a.sent();