@lenne.tech/ng-base 0.3.6 → 0.3.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.
@@ -1846,7 +1846,7 @@ class GraphQLService {
1846
1846
  continue;
1847
1847
  }
1848
1848
  // Skip value if not exists
1849
- if (value === undefined && value === null) {
1849
+ if (value === undefined || value === null) {
1850
1850
  continue;
1851
1851
  }
1852
1852
  // Add current key to metadata
@@ -2161,7 +2161,7 @@ class ScrollService {
2161
2161
  scrollTo(id, options = {}) {
2162
2162
  return __awaiter(this, void 0, void 0, function* () {
2163
2163
  // Prepare config
2164
- const config = Object.assign({ checkUrl: true, loadImagesBefore: true, resetStyles: false, setOverflow: true, stopPropagation: true }, options);
2164
+ const config = Object.assign({ checkUrl: false, loadImagesBefore: true, resetStyles: false, setOverflow: true, stopPropagation: true }, options);
2165
2165
  // Check current URL
2166
2166
  if (config.checkUrl && this.router.url !== '/' && !this.router.url.startsWith('/#')) {
2167
2167
  yield this.router.navigate(['/'], { fragment: id });