ng-ipa-library 1.2.5 → 1.2.8

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.
@@ -545,6 +545,7 @@ class LoaderComponent {
545
545
  constructor(loaderService, cdr) {
546
546
  this.loaderService = loaderService;
547
547
  this.cdr = cdr;
548
+ this.loading = true;
548
549
  this.isLocal = false;
549
550
  }
550
551
  ngAfterViewInit() {
@@ -556,7 +557,8 @@ class LoaderComponent {
556
557
  loader.style.display = 'flex';
557
558
  }
558
559
  else {
559
- loader.style.display = 'none';
560
+ if (loader.style.display !== 'none')
561
+ loader.style.display = 'none';
560
562
  }
561
563
  }
562
564
  this.cdr.detectChanges();
@@ -1185,6 +1187,7 @@ class LoadingInterceptor {
1185
1187
  }
1186
1188
  removeRequest(req) {
1187
1189
  const i = this.requests.indexOf(req);
1190
+ console.log(req, i);
1188
1191
  if (i >= 0) {
1189
1192
  this.requests.splice(i, 1);
1190
1193
  }