@tuki-io/tuki-widgets 0.0.189 → 0.0.191

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.
@@ -2213,29 +2213,29 @@ class PendingActivationUsersCardComponent {
2213
2213
  this.apiService.apiUrl = this.host;
2214
2214
  this.upgradeOverviewService.customerId = this.customerId;
2215
2215
  this.loading = true;
2216
- this.upgradeOverviewService.getUsersUpgradeSummary()
2217
- .pipe(takeUntil(this.destroy$))
2218
- .subscribe((stats) => {
2216
+ // this.upgradeOverviewService.getUsersUpgradeSummary()
2217
+ // .pipe(takeUntil(this.destroy$))
2218
+ // .subscribe((stats) => {
2219
+ // this.readinessStats = {
2220
+ // ...stats,
2221
+ // pendingActivation: 1,
2222
+ // totalUpgradedUsers: 1,
2223
+ // };
2224
+ // this.loading = false;
2225
+ // });
2226
+ // }
2227
+ forkJoin({
2228
+ summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2229
+ pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2230
+ }).pipe(takeUntil(this.destroy$))
2231
+ .subscribe(({ summary, pendingActivation }) => {
2219
2232
  this.readinessStats = {
2220
- ...stats,
2221
- pendingActivation: 1,
2222
- totalUpgradedUsers: 1,
2233
+ ...summary,
2234
+ pendingActivation
2223
2235
  };
2224
2236
  this.loading = false;
2225
2237
  });
2226
2238
  }
2227
- // forkJoin({
2228
- // summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2229
- // pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2230
- // }).pipe(takeUntil(this.destroy$))
2231
- // .subscribe(({ summary, pendingActivation }) => {
2232
- // this.readinessStats = {
2233
- // ...summary,
2234
- // pendingActivation
2235
- // };
2236
- // this.loading = false;
2237
- // });
2238
- // }
2239
2239
  ngOnDestroy() {
2240
2240
  this.destroy$.next();
2241
2241
  this.destroy$.complete();