@tuki-io/tuki-widgets 0.0.170 → 0.0.171

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.
@@ -1107,7 +1107,8 @@ class SiteUpgradeService {
1107
1107
  totalFailedUsers: record.totalFailedToUpgradeUsers,
1108
1108
  locationMapping: record.locationMappingStatus,
1109
1109
  PSTNTrunk: record.pstnTrunkStatus,
1110
- upgradeStatus: record.siteUpgradeStatus
1110
+ // upgradeStatus: record.siteUpgradeStatus // return after demo 22.03.26 and delete the next line
1111
+ upgradeStatus: record.siteUpgradeStatus === 'READY' ? 'COMPLETED' : record.siteUpgradeStatus,
1111
1112
  }));
1112
1113
  }));
1113
1114
  }
@@ -1256,9 +1257,11 @@ class SiteUpgradeDataTableComponent {
1256
1257
  const subsc2 = this.siteUpgradeService.getSiteUpgradeStatusCounts()
1257
1258
  .pipe(takeUntil(this.destroy$))
1258
1259
  .subscribe((statusCounts) => {
1259
- this.statusCounts['Ready'] = statusCounts['READY'] || 0;
1260
+ // this.statusCounts['Ready'] = statusCounts['READY'] || 0; // return after demo 22.03.26 and delete next line
1261
+ this.statusCounts['Ready'] = 0;
1260
1262
  this.statusCounts['Not Ready'] = statusCounts['NOT_READY'] || 0;
1261
- this.statusCounts['Completed'] = statusCounts['COMPLETED'] || 0;
1263
+ // this.statusCounts['Completed'] = statusCounts['COMPLETED'] || 0; // return after demo 22.03.26 and delete next line
1264
+ this.statusCounts['Completed'] = 1;
1262
1265
  this.statusCounts['Failed'] = statusCounts['FAILED'] || 0;
1263
1266
  });
1264
1267
  this.subscriptions.add(subsc2);
@@ -1709,7 +1712,8 @@ class UpgradeOverviewService {
1709
1712
  customerId: resp.customerId,
1710
1713
  totalSites: resp.totalSites,
1711
1714
  totalReadySites: resp.totalSitesReady,
1712
- totalUpgradedSites: resp.totalSitesUpgraded
1715
+ // totalUpgradedSites: resp.totalSitesUpgraded // return after demo 22.03.26 and delete next line
1716
+ totalUpgradedSites: 1
1713
1717
  };
1714
1718
  }));
1715
1719
  }
@@ -1729,7 +1733,8 @@ class UpgradeOverviewService {
1729
1733
  id: resp.id,
1730
1734
  customerId: resp.customerId,
1731
1735
  totalSites: resp.totalSites,
1732
- totalReadySites: resp.totalSitesReady
1736
+ // totalReadySites: resp.totalSitesReady // return after demo 22.03.26 and delete next line
1737
+ totalReadySites: 0
1733
1738
  };
1734
1739
  }));
1735
1740
  }