ng-ipa-library 1.2.6 → 1.2.9

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.
@@ -557,7 +557,8 @@ class LoaderComponent {
557
557
  loader.style.display = 'flex';
558
558
  }
559
559
  else {
560
- loader.style.display = 'none';
560
+ if (loader.style.display !== 'none')
561
+ loader.style.display = 'none';
561
562
  }
562
563
  }
563
564
  this.cdr.detectChanges();
@@ -1186,9 +1187,11 @@ class LoadingInterceptor {
1186
1187
  }
1187
1188
  removeRequest(req) {
1188
1189
  const i = this.requests.indexOf(req);
1190
+ console.log(this.requests);
1189
1191
  if (i >= 0) {
1190
1192
  this.requests.splice(i, 1);
1191
1193
  }
1194
+ console.log(this.requests);
1192
1195
  this.loaderService.isLoading.next(this.requests.length > 0);
1193
1196
  }
1194
1197
  intercept(req, next) {