1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 11:43:51 +00:00

PM-27291 check for undefined

This commit is contained in:
voommen-livefront
2025-10-29 15:34:39 -05:00
parent fe30d84070
commit 83d5f34415

View File

@@ -55,6 +55,9 @@ export class AllActivitiesService {
}
setCriticalAppsReportSummary(summary: OrganizationReportSummary) {
if (!summary) {
return;
}
this.reportSummarySubject$.next({
...this.reportSummarySubject$.getValue(),
totalCriticalApplicationCount: summary.totalApplicationCount,
@@ -65,6 +68,10 @@ export class AllActivitiesService {
}
setAllAppsReportSummary(summary: OrganizationReportSummary) {
if (!summary) {
return;
}
this.reportSummarySubject$.next({
...this.reportSummarySubject$.getValue(),
totalMemberCount: summary.totalMemberCount,