@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.
@@ -2227,25 +2227,26 @@ class PendingActivationUsersCardComponent {
2227
2227
  this.apiService.apiUrl = this.host;
2228
2228
  this.upgradeOverviewService.customerId = this.customerId;
2229
2229
  this.loading = true;
2230
- this.upgradeOverviewService.getUsersUpgradeSummary()
2231
- .pipe(takeUntil(this.destroy$))
2232
- .subscribe((stats) => {
2233
- this.readinessStats = Object.assign(Object.assign({}, stats), { pendingActivation: 1, totalUpgradedUsers: 1 });
2230
+ // this.upgradeOverviewService.getUsersUpgradeSummary()
2231
+ // .pipe(takeUntil(this.destroy$))
2232
+ // .subscribe((stats) => {
2233
+ // this.readinessStats = {
2234
+ // ...stats,
2235
+ // pendingActivation: 1,
2236
+ // totalUpgradedUsers: 1,
2237
+ // };
2238
+ // this.loading = false;
2239
+ // });
2240
+ // }
2241
+ forkJoin({
2242
+ summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2243
+ pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2244
+ }).pipe(takeUntil(this.destroy$))
2245
+ .subscribe(({ summary, pendingActivation }) => {
2246
+ this.readinessStats = Object.assign(Object.assign({}, summary), { pendingActivation });
2234
2247
  this.loading = false;
2235
2248
  });
2236
2249
  }
2237
- // forkJoin({
2238
- // summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2239
- // pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2240
- // }).pipe(takeUntil(this.destroy$))
2241
- // .subscribe(({ summary, pendingActivation }) => {
2242
- // this.readinessStats = {
2243
- // ...summary,
2244
- // pendingActivation
2245
- // };
2246
- // this.loading = false;
2247
- // });
2248
- // }
2249
2250
  ngOnDestroy() {
2250
2251
  this.destroy$.next();
2251
2252
  this.destroy$.complete();